Revert "libhsakmt: Disabled allocation of CWSR with SVM for GFX11."
This reverts commit1ba59d64e1. Change-Id: I05bf82266f563c63c0b794a24b0926e7652ce42d Signed-off-by: David Belanger <david.belanger@amd.com> [ROCm/ROCR-Runtime commit:0eb0bae38b]
This commit is contained in:
کامیت شده توسط
David Belanger
والد
dbf94b7dd3
کامیت
868a9fe9a5
@@ -116,8 +116,6 @@ extern int hsakmt_debug_level;
|
||||
#define HSA_GET_GFX_VERSION_MINOR(gfxv) (((gfxv) / 100) % 100)
|
||||
#define HSA_GET_GFX_VERSION_STEP(gfxv) ((gfxv) % 100)
|
||||
|
||||
#define HSA_GET_GFX_VERSION_MAJOR_HEX(gfxv) (((gfxv) >> 16) & 0xff)
|
||||
|
||||
/* Expects HSA_ENGINE_ID.ui32, returns gfxv (full) in hex */
|
||||
#define HSA_GET_GFX_VERSION_FULL(ui32) \
|
||||
(((ui32.Major) << 16) | ((ui32.Minor) << 8) | (ui32.Stepping))
|
||||
|
||||
@@ -512,8 +512,6 @@ static int handle_concrete_asic(struct queue *q,
|
||||
|
||||
if (hsaKmtGetNodeProperties(NodeId, &node))
|
||||
svm_api = false;
|
||||
else if (HSA_GET_GFX_VERSION_MAJOR_HEX(q->gfxv) == 11)
|
||||
svm_api = false;
|
||||
else
|
||||
svm_api = node.Capability.ui32.SVMAPISupported;
|
||||
|
||||
|
||||
مرجع در شماره جدید
Block a user