mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Registration for the profiling_timebase test has been changed: version 2.1 is now required. (#2584)
This fix is necessary to install the minimum version of OpenCL in the profiling_timebase test. This test uses clGetDeviceAndHostTimer, available only since version 2.1. fix #2582
This commit is contained in:
committed by
GitHub
parent
c0e6447961
commit
65fd490bc9
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
const char *kernelCode = "__kernel void kernel_empty(){}";
|
const char *kernelCode = "__kernel void kernel_empty(){}";
|
||||||
|
|
||||||
REGISTER_TEST(profiling_timebase)
|
REGISTER_TEST_VERSION(profiling_timebase, Version(2, 1))
|
||||||
{
|
{
|
||||||
Version version = get_device_cl_version(device);
|
Version version = get_device_cl_version(device);
|
||||||
cl_platform_id platform = getPlatformFromDevice(device);
|
cl_platform_id platform = getPlatformFromDevice(device);
|
||||||
|
|||||||
Reference in New Issue
Block a user