mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 06:29: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:
@@ -130,7 +130,7 @@ TestItem *CreateTestItem( cl_device_id deviceID, cl_int *err )
|
||||
}
|
||||
|
||||
// Create a program
|
||||
item->p = clCreateProgramWithSource( item->c, 1, context_test_kernels, NULL, &error );
|
||||
error = create_single_kernel_helper_create_program(item->c, &item->p, 1, context_test_kernels);
|
||||
if( NULL == item->p || CL_SUCCESS != error )
|
||||
{
|
||||
if( err )
|
||||
|
||||
Reference in New Issue
Block a user