File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,12 @@ endif()
38
38
# This is a list of all the targets that are supported/tested right now.
39
39
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} aarch64-unknown-linux-gnu" )
40
40
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} amdgcn-amd-amdhsa" )
41
+ set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} amdgcn-amd-amdhsa-newRTL" )
41
42
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64le-ibm-linux-gnu" )
42
43
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64-ibm-linux-gnu" )
43
44
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-pc-linux-gnu" )
44
45
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda" )
46
+ set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-newRTL" )
45
47
46
48
# Once the plugins for the different targets are validated, they will be added to
47
49
# the list of supported targets in the current system.
Original file line number Diff line number Diff line change @@ -122,4 +122,3 @@ endif()
122
122
123
123
# Report to the parent scope that we are building a plugin for amdgpu
124
124
set (LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa" PARENT_SCOPE )
125
-
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ target_link_libraries(omptarget.rtl.cuda
65
65
# Otherwise this plugin is being built speculatively and there may be no cuda available
66
66
if (LIBOMPTARGET_CAN_LINK_LIBCUDA OR LIBOMPTARGET_FORCE_DLOPEN_LIBCUDA )
67
67
libomptarget_say ("Enable tests using CUDA plugin" )
68
- set (LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} nvptx64-nvidia-cuda" PARENT_SCOPE )
68
+ set (LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} nvptx64-nvidia-cuda nvptx64-nvidia-cuda-newRTL " PARENT_SCOPE )
69
69
else ()
70
70
libomptarget_say ("Disabling tests using CUDA plugin as cuda may not be available" )
71
71
endif ()
Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ else: # Unices
96
96
config .test_flags += " --libomptarget-amdgcn-bc-path=" + config .library_dir
97
97
if config .libomptarget_current_target .startswith ('nvptx' ):
98
98
config .test_flags += " --libomptarget-nvptx-bc-path=" + config .library_dir
99
+ if config .libomptarget_current_target .endswith ('-newRTL' ):
100
+ config .test_flags += " -fopenmp-target-new-runtime"
99
101
100
102
# substitutions
101
103
# - for targets that exist in the system create the actual command.
Original file line number Diff line number Diff line change 1
1
// RUN: %libomptarget-compile-run-and-check-generic
2
2
// XFAIL: nvptx64-nvidia-cuda
3
+ // XFAIL: nvptx64-nvidia-cuda-newRTL
3
4
4
5
// Fails on amdgcn with error: GPU Memory Error
5
6
// XFAIL: amdgcn-amd-amdhsa
You can’t perform that action at this time.
0 commit comments