Add Queue profling param and toggle for HIP

Use signal timestamps if NDRange command takes forceProfile flag.

Change-Id: Ib7f187d781fd78a7346818afb3344a9378f4c104
This commit is contained in:
Saleel Kudchadker
2020-07-29 12:55:10 -07:00
parent 093f7fa3ca
commit ec73340348
4 changed files with 15 additions and 6 deletions
+3 -1
View File
@@ -237,7 +237,9 @@ release(uint, HIP_HIDDEN_FREE_MEM, 0, \
release(size_t, GPU_FORCE_BLIT_COPY_SIZE, 0, \
"Size in KB of the threshold below which to force blit instead for sdma") \
release(bool, ROC_ENABLE_LARGE_BAR, true, \
"Enable Large Bar if supported by the device")
"Enable Large Bar if supported by the device") \
release(bool, HIP_FORCE_QUEUE_PROFILING, false, \
"Force command queue profiling by default")
namespace amd {