We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c5817d + 3e6f45b commit 4b8deaaCopy full SHA for 4b8deaa
offload/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -3498,8 +3498,8 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
3498
Error setCoarseGrainMemoryImpl(void *ptr, int64_t size,
3499
bool set_attr = true) override final {
3500
// If the table has not yet been created, check if the gpu arch is
3501
- // MI200 and create it.
3502
- if (!IsEquippedWithGFX90A)
+ // MI200 and create it, but only if USM Map is enabled.
+ if (!IsEquippedWithGFX90A || OMPX_DisableUsmMaps)
3503
return Plugin::success();
3504
if (!CoarseGrainMemoryTable)
3505
CoarseGrainMemoryTable = new AMDGPUMemTypeBitFieldTable(
0 commit comments