Skip to content

Commit

Permalink
Drop now-redundant clCreateKernel call
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvh committed Jun 7, 2024
1 parent 4ce6ab0 commit bf07863
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ class KernelClockTest {
sizeof(cl_uint), nullptr, &error);
test_error(error, "clCreateBuffer failed");

kernel = clCreateKernel(program, "SampleClock", &error);
test_error(error, "Failed to create kernel");

error = clSetKernelArg(kernel, 0, sizeof(out_mem), &out_mem);
test_error(error, "clSetKernelArg failed");

Expand Down

0 comments on commit bf07863

Please sign in to comment.