mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Added corrections due to clean up harness helper functions for programs and kernels (#2626)
Related to #2597
This commit is contained in:
@@ -50,8 +50,8 @@ cl_int get_type_size( cl_context context, cl_command_queue queue, const char *ty
|
||||
{
|
||||
sizeof_kernel_code[0] = "#pragma OPENCL EXTENSION cl_khr_fp16 : enable\n";
|
||||
}
|
||||
cl_int err = create_single_kernel_helper_with_build_options(
|
||||
context, &p, &k, 4, sizeof_kernel_code, "test_sizeof", nullptr);
|
||||
cl_int err = create_single_kernel_helper(context, &p, &k, 4,
|
||||
sizeof_kernel_code, "test_sizeof");
|
||||
test_error(err, "Failed to build kernel/program.");
|
||||
|
||||
m = clCreateBuffer( context, CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, sizeof( cl_ulong ), size, &err );
|
||||
|
||||
Reference in New Issue
Block a user