File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
test/conformance/device_code Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,11 @@ macro(add_device_binary SOURCE_FILE)
109109 endif ()
110110
111111 add_custom_command (OUTPUT ${BIN_PATH}
112- COMMAND ${UR_DPCXX} -fsycl -fsycl-targets=${TRIPLE} -fsycl-device-code-split=off
113- ${AMD_TARGET_BACKEND} ${AMD_OFFLOAD_ARCH} ${AMD_NOGPULIB}
114- ${DPCXX_BUILD_FLAGS_LIST} ${SOURCE_FILE} -o ${EXE_PATH}
112+ COMMAND LD_LIBRARY_PATH=${UR_SYCL_LIBRARY_DIR} :$ENV{LD_LIBRARY_PATH}
113+ ${UR_DPCXX} -fsycl -fsycl-targets=${TRIPLE}
114+ -fsycl-device-code-split=off ${AMD_TARGET_BACKEND}
115+ ${AMD_OFFLOAD_ARCH} ${AMD_NOGPULIB} ${DPCXX_BUILD_FLAGS_LIST}
116+ ${SOURCE_FILE} -o ${EXE_PATH}
115117
116118 COMMAND ${CMAKE_COMMAND} -E env ${EXTRA_ENV} ${UR_DEVICE_CODE_EXTRACTOR} --stem="${TRIPLE} .bin" ${EXE_PATH}
117119
You can’t perform that action at this time.
0 commit comments