Skip to content

Commit 5f0ad79

Browse files
committed
[OpenMP][libomptarget] Remove unhelpful message and state what is needed for the warning to disappear.
Change-Id: I07ba9b0b85f73c2ed3ae9fd1e757cf9737901d8b
1 parent 19560a4 commit 5f0ad79

File tree

1 file changed

+3
-1
lines changed
  • openmp/libomptarget/plugins-nextgen/amdgpu/src

1 file changed

+3
-1
lines changed

openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3623,7 +3623,9 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
36233623
(xnackImageMode != utils::XnackBuildMode::XNACK_PLUS)) {
36243624
FAILURE_MESSAGE(
36253625
"Running a program that requries XNACK on a system where XNACK is "
3626-
"disabled! This may potentially cause memory errors! Just saying.\n");
3626+
"disabled. This may cause problems when using a OS-allocated pointer "
3627+
"inside a target region. "
3628+
"Re-run with HSA_XNACK=1 to remove this warning.\n");
36273629
}
36283630
}
36293631

0 commit comments

Comments
 (0)