Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cl_khr_kernel_clock: use create_single_kernel_helper #1978

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,10 @@ class KernelClockTest {

ptr = kernel_src;

error = create_single_kernel_helper_create_program(
context, &program, 1, &ptr);
error = create_single_kernel_helper(context, &program, &kernel, 1,
&ptr, "SampleClock");
bashbaug marked this conversation as resolved.
Show resolved Hide resolved
test_error(error, "Failed to create program with source");

error =
clBuildProgram(program, 1, &device, nullptr, nullptr, nullptr);
test_error(error, "Failed to build program");

out_mem = clCreateBuffer(context, CL_MEM_WRITE_ONLY,
sizeof(cl_uint), nullptr, &error);
test_error(error, "clCreateBuffer failed");
Expand Down
Loading