File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
openmp/libomptarget/deviceRTLs/nvptx Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND)
56
56
${devicertl_common_directory} /src/data_sharing.cu
57
57
${devicertl_common_directory} /src/libcall.cu
58
58
${devicertl_common_directory} /src/loop.cu
59
+ ${devicertl_common_directory} /src/omp_data.cu
59
60
${devicertl_common_directory} /src/omptarget.cu
60
61
${devicertl_common_directory} /src/parallel.cu
61
62
${devicertl_common_directory} /src/reduction.cu
@@ -65,8 +66,6 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND)
65
66
src/target_impl.cu
66
67
)
67
68
68
- set (omp_data_objects ${devicertl_common_directory} /src/omp_data.cu )
69
-
70
69
# Build library support for the highest compute capability the system supports
71
70
# and always build support for sm_35 by default
72
71
if (${LIBOMPTARGET_DEP_CUDA_ARCH} EQUAL 35 )
@@ -105,7 +104,7 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND)
105
104
set (CUDA_SEPARABLE_COMPILATION ON )
106
105
list (APPEND CUDA_NVCC_FLAGS -I${devicertl_base_directory}
107
106
-I${devicertl_nvptx_directory}/src )
108
- cuda_add_library (omptarget-nvptx STATIC ${cuda_src_files} ${omp_data_objects}
107
+ cuda_add_library (omptarget-nvptx STATIC ${cuda_src_files}
109
108
OPTIONS ${CUDA_ARCH} ${CUDA_DEBUG} ${MAX_SM_DEFINITION} )
110
109
111
110
# Install device RTL under the lib destination folder.
You can’t perform that action at this time.
0 commit comments