mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 14:39:01 +00:00
Port framework changes from master
Now requiring the headers to be configured for OpenCL > 2.1.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "allocation_fill.h"
|
||||
#include "allocation_execute.h"
|
||||
#include "../../test_common/harness/testHarness.h"
|
||||
#include "../../test_common/harness/parseParameters.h"
|
||||
#include <time.h>
|
||||
|
||||
typedef long long unsigned llu;
|
||||
@@ -273,6 +274,13 @@ int main(int argc, const char *argv[])
|
||||
char *endPtr;
|
||||
int r;
|
||||
|
||||
argc = parseCustomParam(argc, argv);
|
||||
if (argc == -1)
|
||||
{
|
||||
test_finish();
|
||||
return 1;
|
||||
}
|
||||
|
||||
const char ** argList = (const char **)calloc( argc, sizeof( char*) );
|
||||
|
||||
if( NULL == argList )
|
||||
|
||||
Reference in New Issue
Block a user