wsl/hsakmt: Disable thunk sub-allocator by default
Signed-off-by: Shi.Leslie <Yuliang.Shi@amd.com> Reviewed-by: Longlong Yao Longlong.Yao@amd.com
This commit is contained in:
committad av
Frank Min
förälder
a343839e3c
incheckning
c3e8645230
+2
-1
@@ -278,7 +278,8 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtAllocMemoryAlign(HSAuint32 PreferredNode,
|
||||
void **MemoryAddress) {
|
||||
return hsaKmtAllocMemoryAlignInternal(PreferredNode, SizeInBytes,
|
||||
Alignment, MemFlags,
|
||||
MemoryAddress);
|
||||
MemoryAddress,
|
||||
!enable_thunk_sub_allocator);
|
||||
}
|
||||
|
||||
HSAKMT_STATUS hsaKmtFreeMemoryInternal(void *MemoryAddress,
|
||||
|
||||
Referens i nytt ärende
Block a user