wsl/hsakmt: add supporting contiguous memory allocation

Reviewed-by: Longlong Yao <Longlong.Yao@amd.com>
Signed-off-by: tiancyin <tianci.yin@amd.com>
This commit is contained in:
tiancyin
2024-11-13 07:45:39 +08:00
committed by Frank Min
parent 4b9ef909b4
commit 0fae2bb262
5 changed files with 32 additions and 20 deletions
+1 -1
View File
@@ -199,6 +199,6 @@ bool queue_release_buffer(void *MemoryAddress);
uint32_t get_vgpr_size_per_cu(HSA_ENGINE_ID id);
#define SGPR_SIZE_PER_CU 0x4000
HSAKMT_STATUS hsaKmtImportDMABufHandle(int DMABufFd, void **MemoryAddress);
HSAKMT_STATUS hsaKmtImportDMABufHandle(int DMABufFd, HsaGraphicsResourceInfo *GraphicsResourceInfo);
#endif