Revert "libhsakmt: Disabled allocation of CWSR with SVM for GFX11."

This reverts commit 1ba59d64e1.

Change-Id: I05bf82266f563c63c0b794a24b0926e7652ce42d
Signed-off-by: David Belanger <david.belanger@amd.com>


[ROCm/ROCR-Runtime commit: 0eb0bae38b]
Этот коммит содержится в:
David Belanger authored and David Belanger committed 2023-01-25 10:48:46 -05:00
1 родитель dbf94b7dd3
Коммит 868a9fe9a5
2 files changed
-4

No files matched your search

-2
Просмотреть файл
@@ -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))
-2
Просмотреть файл
@@ -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;