libhsakmt: Support contiguous VRAM allocation flag
Add HsaMemFlags Contiguous bit for hsaKmtAllocMemory to allocate contiguous VRAM, to support RDMA device with limited scatter-gather ability. Check KFD ioctl minor version >= 17. Change-Id: I0db00dad125b2b7be523f343082641f59b850423 Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Esse commit está contido em:
1 pai
e2d742ac6f
commit
97497c7efc
4 files changed
+9
-1
No files matched your search
@@ -1029,6 +1029,7 @@ struct kfd_ioctl_acquire_vm_args {
|
||||
#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT (1 << 26)
|
||||
#define KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED (1 << 25)
|
||||
#define KFD_IOC_ALLOC_MEM_FLAGS_EXT_COHERENT (1 << 24)
|
||||
#define KFD_IOC_ALLOC_MEM_FLAGS_CONTIGUOUS_BEST_EFFORT (1 << 23)
|
||||
|
||||
/* Allocate memory for later SVM (shared virtual memory) mapping.
|
||||
*
|
||||
|
||||
Reference in new issue
Bloquear um usuário