Use CL_DEVICE_PROFILING_TIMER_RESOLUTION per-device value in total_time calculations

This commit is contained in:
Gabriele 'matrix' Gristina
2016-02-09 21:48:18 +01:00
parent 9fc360e39d
commit 523a7bfe93
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -847,6 +847,7 @@ struct __hc_device_param
u64 device_maxmem_alloc;
u64 device_global_mem;
u32 device_maxclock_frequency;
u64 device_timer_resolution;
uint vector_width;