mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 06:49:02 +00:00
User create_* helper functions in most tests
Ported from master. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -367,12 +367,7 @@ cl_int HarnessD3D10_CreateKernelFromSource(
|
||||
const char *sourceTexts[] = {source};
|
||||
size_t sourceLengths[] = {strlen(source) };
|
||||
|
||||
program = clCreateProgramWithSource(
|
||||
context,
|
||||
1,
|
||||
sourceTexts,
|
||||
sourceLengths,
|
||||
&status);
|
||||
status = create_single_kernel_helper_create_program(context, &program, 1, &sourceTexts[0]);
|
||||
TestRequire(
|
||||
CL_SUCCESS == status,
|
||||
"clCreateProgramWithSource failed");
|
||||
|
||||
Reference in New Issue
Block a user