mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 06:49:02 +00:00
Port framework changes from master
Now requiring the headers to be configured for OpenCL > 2.1.
This commit is contained in:
@@ -14,6 +14,9 @@ set(${MODULE_NAME}_SOURCES
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/testHarness.c
|
||||
#../../test_common/harness/imageHelpers.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "../../test_common/harness/errorHelpers.h"
|
||||
#include "../../test_common/harness/kernelHelpers.h"
|
||||
#include "../../test_common/harness/mt19937.h"
|
||||
#include "../../test_common/harness/parseParameters.h"
|
||||
|
||||
typedef unsigned int uint32_t;
|
||||
|
||||
@@ -994,8 +995,14 @@ const int test_num = ARRAY_SIZE( test_list );
|
||||
//-----------------------------------------
|
||||
// main
|
||||
//-----------------------------------------
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
argc = parseCustomParam(argc, argv);
|
||||
if (argc == -1)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
const char ** argList = (const char **)calloc( argc, sizeof( char*) );
|
||||
|
||||
if( NULL == argList )
|
||||
|
||||
Reference in New Issue
Block a user