Skip to content

Commit

Permalink
Checked failure
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 19, 2020
1 parent 331d9ac commit 1848a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pconvert/opencl.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ ERROR_T blend_kernel(
mem_top = clCreateBuffer(context, CL_MEM_READ_ONLY, size, NULL, NULL);

error = clEnqueueWriteBuffer(commands, mem_bottom, CL_TRUE, 0, size, bottom, 0, NULL, NULL);
if(error != CL_SUCCESS){ RAISE_M("[blend_kernel] Failed to write to source array"); }
error = clEnqueueWriteBuffer(commands, mem_top, CL_TRUE, 0, size, top, 0, NULL, NULL);
if(error != CL_SUCCESS){ RAISE_M("[blend_kernel] Failed to write to source array"); }

Expand Down

0 comments on commit 1848a6d

Please sign in to comment.