Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions offload/plugins-nextgen/amdgpu/src/rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4818,10 +4818,11 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
if (isUnifiedSharedMemory && !IsXnackEnabled) {
MESSAGE0(
"Running a program that requires XNACK on a system where XNACK is "
"disabled. This may cause problems when using an OS-allocated "
"pointer "
"inside a target region. "
"Re-run with HSA_XNACK=1 to remove this warning.");
"disabled or not supported. If your device supports XNACK, "
"re-run with HSA_XNACK=1. If your device does not support XNACK, "
"remove USM pragma and use map clauses instead. "
"Set OMPX_EAGER_ZERO_COPY_MAPS=1 for optimal zero-copy "
"performance on non-XNACK APUs.");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"performance on non-XNACK APUs.");
"performance on non-XNACK shared-memory devices.");

I don't know whether we should use the term APU here. I don't have a strong opinion either.

if (OMPX_StrictSanityChecks)
llvm_unreachable("User-requested hard stop on sanity check errors.");
}
Expand Down
Loading