mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 15:39:03 +00:00
Port framework changes from master
Now requiring the headers to be configured for OpenCL > 2.1.
This commit is contained in:
@@ -17,9 +17,10 @@ set (${MODULE_NAME}_SOURCES
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
|
||||
@@ -288,6 +288,12 @@ int main (int argc, const char **argv )
|
||||
int error;
|
||||
cl_uint seed = (cl_uint) time( NULL );
|
||||
|
||||
argc = parseCustomParam(argc, argv);
|
||||
if (argc == -1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
if( (error = ParseArgs( argc, argv )) )
|
||||
return error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user