Skip to content

Commit f38f107

Browse files
authored
[AMDGPU][Offload] Adjustment to reflect upstream PR151882 (llvm#3482)
2 parents d454677 + 1f70f22 commit f38f107

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

offload/test/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ if config.libomptarget_test_pgo:
121121
# For all other targets, we currently assume it is.
122122
supports_unified_shared_memory = True
123123
supports_apu = False
124+
supports_large_allocation_memory_pool = False
124125
is_mi200 = False
125126
supports_large_allocation_memory_pool = False
126127
if config.libomptarget_current_target.startswith('nvptx'):
@@ -154,6 +155,7 @@ elif config.libomptarget_current_target.startswith('amdgcn'):
154155
if is_mi200:
155156
config.available_features.add('mi200')
156157

158+
157159
if supports_apu:
158160
config.available_features.add('apu')
159161
if supports_large_allocation_memory_pool:

offload/test/sanitizer/use_after_free_2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1212

1313
// If offload memory pooling is enabled for a large allocation, reuse error is
14+
1415
// not detected. UNSUPPORTED: large_allocation_memory_pool
1516

1617
#include <omp.h>

offload/test/sanitizer/use_after_free_3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
// If offload memory pooling is enabled for a large allocation, reuse error is
88
// not detected. Run the test w/ and w/o ENV var override on memory pooling
9+
910
// threshold. REQUIRES: large_allocation_memory_pool
1011

1112
#include <omp.h>

0 commit comments

Comments
 (0)