Home
last modified time | relevance | path

Searched refs:allowedDiff (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/device_timer/
Dtest_device_timer.cpp35 cl_ulong allowedDiff; in test_device_and_host_timers() local
88 allowedDiff = (cl_ulong)(hostTimeDiff * ALLOWED_ERROR); in test_device_and_host_timers()
92 allowedDiff = (cl_ulong)(deviceTimeDiff * ALLOWED_ERROR); in test_device_and_host_timers()
95 if (observedDiff > allowedDiff) { in test_device_and_host_timers()
97 …rror(" Observed difference between timers %lu (max allowed %lu).\n", observedDiff, allowedDiff); in test_device_and_host_timers()