Skip to content

Commit

Permalink
corrections to strengthen the test around SVM arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Apr 7, 2024
1 parent 490efa8 commit 86220e1
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,6 @@ struct MutableDispatchSVMArguments : public MutableDispatchArgumentsTest
nullptr, nullptr);
test_error(error, "clEnqueueCommandBufferKHR failed");

error = clFinish(queue);
test_error(error, "clFinish failed");

// Check the results of the initial execution
error =
clEnqueueSVMMap(queue, CL_TRUE, CL_MAP_READ, init_buffer,
Expand All @@ -764,9 +761,6 @@ struct MutableDispatchSVMArguments : public MutableDispatchArgumentsTest
error = clEnqueueSVMUnmap(queue, init_buffer, 0, nullptr, nullptr);
test_error(error, "clEnqueueSVMUnmap failed for init_buffer");

error = clFinish(queue);
test_error(error, "clFinish failed");

// Modify and execute the command buffer

cl_mutable_dispatch_arg_khr arg_svm{};
Expand Down

0 comments on commit 86220e1

Please sign in to comment.