File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
openmp/libomptarget/deviceRTLs Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ set(cuda_sources
58
58
${devicertl_base_directory} /common/src/cancel.cu
59
59
${devicertl_base_directory} /common/src/critical.cu
60
60
${devicertl_base_directory} /common/src/loop.cu
61
+ ${devicertl_base_directory} /common/src/libcall.cu
62
+ ${devicertl_base_directory} /common/src/reduction.cu
63
+ ${devicertl_base_directory} /common/src/omp_data.cu
61
64
${devicertl_base_directory} /common/src/omptarget.cu
62
65
${devicertl_base_directory} /common/src/parallel.cu
63
66
${devicertl_base_directory} /common/src/sync.cu
Original file line number Diff line number Diff line change 1
- // ===------------ libcall.cu - NVPTX OpenMP user calls ----------- CUDA -*-===//
1
+ // ===------------ libcall.cu - OpenMP GPU user calls -- ----------- CUDA -*-===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
Original file line number Diff line number Diff line change 1
- // ===------------ omp_data.cu - NVPTX OpenMP GPU objects --------- CUDA -*-===//
1
+ // ===------------ omp_data.cu - OpenMP GPU objects ------ --------- CUDA -*-===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
Original file line number Diff line number Diff line change 1
- // ===---- reduction.cu - NVPTX OpenMP reduction implementation ---- CUDA
2
- // -*-===//
1
+ // ===---- reduction.cu - GPU OpenMP reduction implementation ----- CUDA -*-===//
3
2
//
4
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
4
// See https://llvm.org/LICENSE.txt for license information.
11
10
//
12
11
// ===----------------------------------------------------------------------===//
13
12
14
- #include < complex.h>
15
- #include < stdio.h>
16
-
17
13
#include " common/omptarget.h"
18
14
#include " target_impl.h"
19
15
Original file line number Diff line number Diff line change @@ -54,18 +54,18 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND)
54
54
${devicertl_common_directory} /src/cancel.cu
55
55
${devicertl_common_directory} /src/critical.cu
56
56
src/data_sharing.cu
57
- src/libcall.cu
57
+ ${devicertl_common_directory} / src/libcall.cu
58
58
src/target_impl.cu
59
59
${devicertl_common_directory} /src/loop.cu
60
60
${devicertl_common_directory} /src/omptarget.cu
61
61
${devicertl_common_directory} /src/parallel.cu
62
- src/reduction.cu
62
+ ${devicertl_common_directory} / src/reduction.cu
63
63
${devicertl_common_directory} /src/support.cu
64
64
${devicertl_common_directory} /src/sync.cu
65
65
${devicertl_common_directory} /src/task.cu
66
66
)
67
67
68
- set (omp_data_objects src/omp_data.cu )
68
+ set (omp_data_objects ${devicertl_common_directory} / src/omp_data.cu )
69
69
70
70
# Get the compute capability the user requested or use SM_35 by default.
71
71
# SM_35 is what clang uses by default.
You can’t perform that action at this time.
0 commit comments