rusticl/api: Wire up CL_DEVICE_PROFILING_TIMER_RESOLUTION
authorDr. David Alan Gilbert <dave@treblig.org>
Sun, 25 Jun 2023 16:22:29 +0000 (17:22 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Jun 2023 10:00:47 +0000 (10:00 +0000)
commit8887be6206586d5fe048489ce7cb8e00cc31a7a0
treea6cd74f7b7849ca30951afab664c266d30020c33
parent1bb523111b839628c623f81a46eaae56d24dc3a9
rusticl/api: Wire up CL_DEVICE_PROFILING_TIMER_RESOLUTION

Wire up the CL_DEVICE_PROFILING_TIMER_RESOLUTION from the PIPE_CAP.
While here, also set CL_PLATFORM_HOST_TIMER_RESOLUTION to 1;
that's bogus since we're using the same value as for device, but
at this point we don't have a device to ask.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639>
src/gallium/frontends/rusticl/api/device.rs
src/gallium/frontends/rusticl/api/platform.rs