mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 22: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:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "../testBase.h"
|
||||
#include "../../../test_common/harness/fpcontrol.h"
|
||||
#include "../../../test_common/harness/parseParameters.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -266,6 +267,13 @@ int main(int argc, const char *argv[])
|
||||
cl_channel_type chanType;
|
||||
cl_channel_order chanOrder;
|
||||
|
||||
argc = parseCustomParam(argc, argv);
|
||||
if (argc == -1)
|
||||
{
|
||||
test_finish();
|
||||
return -1;
|
||||
}
|
||||
|
||||
//Check CL_DEVICE_TYPE environment variable
|
||||
checkDeviceTypeOverride( &gDeviceType );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user