Use -nogpulib as a quick build fix
Change-Id: I28ca7d53c76f0829719079dfb67b6314f5ff27cc
This commit is contained in:
committed by
Matthew Arsenault
orang tua
33133ebd07
melakukan
0d84b66b1e
@@ -110,12 +110,12 @@ function(CompileKernel KRNL_NAME TARGET_DEV)
|
||||
# following strings are used to generate a code object and code
|
||||
# asm files
|
||||
#
|
||||
string(CONCAT CODE_ARG_STR "-Xclang -finclude-default-header "
|
||||
string(CONCAT CODE_ARG_STR "-Xclang -finclude-default-header -nogpulib "
|
||||
"-target amdgcn-amdh-amdhsa -mcpu=${TARGET_DEV} -mno-code-object-v3 "
|
||||
"${COMMON_BITCODE_LIB1} ${COMMON_BITCODE_LIB2} "
|
||||
"${COMMON_BITCODE_LIB3} -cl-std=CL${OPENCL_VER} "
|
||||
"${PROJECT_SOURCE_DIR}/${CL_FILE} -o ${KERNEL_DIR}/${CODEOBJ_FILE}")
|
||||
string(CONCAT ASM_ARG_STR "-S -Xclang -finclude-default-header "
|
||||
string(CONCAT ASM_ARG_STR "-S -Xclang -finclude-default-header -nogpulib "
|
||||
"-target amdgcn-amdh-amdhsa -mcpu=${TARGET_DEV} -mno-code-object-v3 "
|
||||
"${COMMON_BITCODE_LIB1} ${COMMON_BITCODE_LIB2} "
|
||||
"${COMMON_BITCODE_LIB3} -cl-std=CL${OPENCL_VER} "
|
||||
|
||||
Reference in New Issue
Block a user