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:
@@ -1245,9 +1245,8 @@ int CBasicTest<HostAtomicType, HostDataType>::ExecuteSingleTest(
|
||||
programSource = PragmaHeader(deviceID) + ProgramHeader(numDestItems)
|
||||
+ FunctionCode() + KernelCode(numDestItems);
|
||||
programLine = programSource.c_str();
|
||||
if (create_single_kernel_helper_with_build_options(
|
||||
context, &program, &kernel, 1, &programLine,
|
||||
"test_atomic_kernel", gOldAPI ? "" : nullptr))
|
||||
if (create_single_kernel_helper(context, &program, &kernel, 1,
|
||||
&programLine, "test_atomic_kernel"))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user