Restore default code object version usage for ROCr and ROCr Test

Remove override that forces ROCr image blit source and ROCr test to use
code object version 4 now that mainline has been updated to version 5.

Change-Id: I94681e86835c0e382475306ead4cd4132a2ee78f
Dieser Commit ist enthalten in:
Jonathan Kim
2023-10-04 14:54:58 -04:00
committet von David Yat Sin
Ursprung 750212e50e
Commit 2f847cf05f
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
@@ -67,8 +67,7 @@ function(gen_kernel_bc TARGET_ID INPUT_FILE OUTPUT_FILE)
separate_arguments(CLANG_ARG_LIST UNIX_COMMAND
"-O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0
-target amdgcn-amd-amdhsa -mcpu=${TARGET_ID} -mcode-object-version=4
-o ${OUTPUT_FILE} ${INPUT_FILE}")
-target amdgcn-amd-amdhsa -mcpu=${TARGET_ID} -o ${OUTPUT_FILE} ${INPUT_FILE}")
## Add custom command to produce a code object file.
## This depends on the kernel source file & compiler.