Queue profiling and Device timebase equality test (#1150)

Adds test to confirm that the timestamp returned from
clGetEventProfilingInfo for an event on a device and a device
timestamp queried from the same device are in the same timebase.

Fixes #753

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>

---------

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
ellnor01
2024-10-01 17:25:16 +01:00
committed by GitHub
parent bcd54787e7
commit 7e859cc296
4 changed files with 136 additions and 31 deletions

View File

@@ -58,6 +58,8 @@ extern int test_copy_image( cl_device_id device, cl_context context, cl_c
extern int test_copy_array_to_image( cl_device_id device, cl_context context, cl_command_queue queue, int num_elements );
extern int test_execute( cl_device_id device, cl_context context, cl_command_queue queue, int num_elements );
extern int test_parallel_kernels( cl_device_id device, cl_context context, cl_command_queue queue, int num_elements );
extern int test_profiling_timebase(cl_device_id device, cl_context context,
cl_command_queue queue, int num_elements);
#endif // #ifndef __PROCS_H__