SWDEV-508869 - Fix Linux build error for HIP on PAL (#176)
Dieser Commit ist enthalten in:
1 Ursprung
a2dafbeacf
Commit
9699cc3864
8 Dateien geändert
+37
-17
Keine Dateien entsprechen Ihrer Suche
@@ -1031,8 +1031,10 @@ Memory* Buffer::createBufferView(amd::Memory& subBufferOwner) const {
|
||||
// ================================================================================================
|
||||
bool Buffer::ExportHandle(void* handle) const {
|
||||
Pal::GpuMemoryExportInfo exportInfo = {};
|
||||
#if IS_WINDOWS
|
||||
// Set default flags in case they are not provided by application
|
||||
exportInfo.accessFlags = GENERIC_READ | GENERIC_WRITE;
|
||||
#endif
|
||||
*reinterpret_cast<Pal::OsExternalHandle*>(handle) = iMem()->ExportExternalHandle(exportInfo);
|
||||
return true;
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren