mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Add support for USM shared in WSL for dGPU
This patch force KMD allocation path for USM shared Additionally we force 64kb page from lock which is required to properly program GPU VA Related-To: NEO-6913 Signed-off-by: Kamil Diedrich kamil.diedrich@intel.com
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
522076cf82
commit
b36aa626bc
@@ -47,6 +47,8 @@ struct AllocationProperties {
|
||||
uint64_t gpuAddress = 0;
|
||||
OsContext *osContext = nullptr;
|
||||
bool useMmapObject = true;
|
||||
bool forceKMDAllocation = false;
|
||||
bool makeGPUVaDifferentThanCPUPtr = false;
|
||||
uint32_t cacheRegion = 0;
|
||||
bool makeDeviceBufferLockable = false;
|
||||
|
||||
@@ -125,6 +127,8 @@ struct AllocationData {
|
||||
ImageInfo *imgInfo = nullptr;
|
||||
uint32_t rootDeviceIndex = 0;
|
||||
OsContext *osContext = nullptr;
|
||||
bool forceKMDAllocation = false;
|
||||
bool makeGPUVaDifferentThanCPUPtr = false;
|
||||
bool useMmapObject = true;
|
||||
uint32_t cacheRegion = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user