From db963a9fd627db755daa1732c81a77181c8b3a92 Mon Sep 17 00:00:00 2001 From: Yifan Zhao <yifanz16@illinois.edu> Date: Tue, 23 Mar 2021 01:35:54 -0500 Subject: [PATCH] Fixed missing equal sign after Xcompiler which confuses older nvcc --- hpvm/projects/hpvm-tensor-rt/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt b/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt index f2e2cd5afe..a142d524b6 100644 --- a/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt +++ b/hpvm/projects/hpvm-tensor-rt/CMakeLists.txt @@ -80,8 +80,8 @@ function(add_tensor_runtime target_name) set_property(TARGET ${target_name} PROPERTY CUDA_ARCHITECTURES 60) target_compile_options( ${target_name} PRIVATE - --expt-relaxed-constexpr -maxrregcount 32 -Xcompiler ${OpenMP_CXX_FLAGS} - $<$<CONFIG:DEBUG>:-lineinfo -Xcompiler -ggdb> + --expt-relaxed-constexpr -maxrregcount 32 -Xcompiler=${OpenMP_CXX_FLAGS} + $<$<CONFIG:DEBUG>:-lineinfo -Xcompiler=-ggdb> ) target_include_directories(${target_name} PUBLIC ${INCLUDES}) target_link_directories(${target_name} PUBLIC ${LINK_DIR}) -- GitLab