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:
@@ -31,7 +31,10 @@ set(D3D10_SOURCES
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c)
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_d3d10
|
||||
${D3D10_SOURCES})
|
||||
|
||||
@@ -17,13 +17,17 @@
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include "harness.h"
|
||||
#include "../../test_common/harness/testHarness.h"
|
||||
#include "../../test_common/harness/parseParameters.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
cl_int result;
|
||||
cl_platform_id platform = NULL;
|
||||
cl_uint num_devices_tested = 0;
|
||||
|
||||
argc = parseCustomParam(argc, argv);
|
||||
|
||||
// get the platform to test
|
||||
result = clGetPlatformIDs(1, &platform, NULL); NonTestRequire(result == CL_SUCCESS, "Failed to get any platforms.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user