diff --git a/hipamd/src/hip_device_runtime.cpp b/hipamd/src/hip_device_runtime.cpp index 6d18d9f4a7..f6ce98ad45 100644 --- a/hipamd/src/hip_device_runtime.cpp +++ b/hipamd/src/hip_device_runtime.cpp @@ -319,6 +319,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device) case hipDeviceAttributePageableMemoryAccessUsesHostPageTables: *pi = prop.pageableMemoryAccessUsesHostPageTables; break; + case hipDeviceAttributeIsLargeBar: + *pi = prop.isLargeBar; + break; case hipDeviceAttributeUnifiedAddressing: // HIP runtime always uses SVM for host memory allocations. // Note: Host registered memory isn't covered by this feature