Skip to content

Commit

Permalink
Include DPC++ libs in compilation of device code.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacault committed Dec 13, 2024
1 parent 9861d41 commit 97b7aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conformance/device_code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ macro(add_device_binary SOURCE_FILE)
endif()

add_custom_command(OUTPUT ${BIN_PATH}
COMMAND ${UR_DPCXX} -fsycl -fsycl-targets=${TRIPLE} -fsycl-device-code-split=off
COMMAND LD_LIBRARY_PATH=${UR_SYCL_LIBRARY_DIR}:$LD_LIBRARY_PATH ${UR_DPCXX} -fsycl -fsycl-targets=${TRIPLE} -fsycl-device-code-split=off
${AMD_TARGET_BACKEND} ${AMD_OFFLOAD_ARCH} ${AMD_NOGPULIB}
${DPCXX_BUILD_FLAGS_LIST} ${SOURCE_FILE} -o ${EXE_PATH}

Expand Down

0 comments on commit 97b7aa8

Please sign in to comment.