Revert "Restore default code object version usage for ROCr and ROCr Test"

This reverts commit 6ef7fcedd1290b59190f81df1d25142ecb05d282.

Change-Id: Icc0300c25a89fcb99287d013863a00ace7e12129
Tá an tiomantas seo le fáil i:
Shweta Khatri údaraithe agus David Yat Sin tiomanta 2023-12-04 15:03:31 +00:00
1 tuismitheoir 6916ce358a
tiomantas acf9e95027
2 comhad athraithe
+3 -2

Níor tháinig aon chomhaid le do chuardach

+2 -1
Féach ar an gComhad
@@ -70,7 +70,8 @@ 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} -o ${OUTPUT_FILE} ${INPUT_FILE}")
-target amdgcn-amd-amdhsa -mcpu=${TARGET_ID} -mcode-object-version=4
-o ${OUTPUT_FILE} ${INPUT_FILE}")
## Add custom command to produce a code object file.
## This depends on the kernel source file & compiler.