Fix hsa_support::timestamp_ns if HSA is not yet initialized

Default to the HSA runtime's hsa_system_get_info if the saved HSA
functions table is not yet initialized.

Change-Id: I3659095a5ad662f7ca8b0d92bd035901c6d66bb0
This commit is contained in:
Laurent Morichetti
2022-09-08 18:30:54 -07:00
parent db69cc1c9f
commit 87ffbd27f4
5 changed files with 119 additions and 8 deletions
@@ -21,3 +21,4 @@ activity_and_callback_trace --check-order .*
multi_pool_activities_trace --check-order .*
roctx_test_trace --check-count .*
backward_compat_test_trace --check-none
dlopen --check-none