SWDEV-517941 - use device bitcode before spirv (#95)

Also add flag: HIP_FORCE_SPIRV_CODEOBJECT to allow override to force use
SPIRV.

* use cache for already compiled code objects

* address review comments and use the two spirv isa names
This commit is contained in:
Chaudhary, Jatin Jaikishan
2025-04-14 23:40:52 +01:00
committed by GitHub
parent 7b72c1b786
commit 07e57a1f0d
2 changed files with 69 additions and 41 deletions
+2
View File
@@ -278,6 +278,8 @@ release(bool, DEBUG_HIP_DYNAMIC_QUEUES, true, \
release(uint, DEBUG_HIP_7_PREVIEW, 0, \
"Enables specific backward incompatible changes support before 7.0," \
"using the mask. By default the changes are disabled and is set to 0")\
release(bool, HIP_FORCE_SPIRV_CODEOBJECT, false, \
"Force use of SPIRV instead of device specific code object.") \
namespace amd {