libhsakmt: add OverrideEngineId property
When HSA_OVERRIDE_GFX_VERSION is used, save the overrided GFX version to OverrideEngineId instead of original EngineId. There are places where real GFX properties still needed, e.g. CWSR size calculation. Change-Id: I9d9149bae465b7cfe55604fc19e7ca34e48b7b1c Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Este commit está contenido en:
cometido por
David Yat Sin
padre
123b2c080a
commit
3f1f68c8cb
@@ -298,6 +298,7 @@ typedef struct _HsaNodeProperties
|
||||
// may be 0 if HW has no restrictions
|
||||
|
||||
HSA_ENGINE_ID EngineId; // Identifier (rev) of the GPU uEngine or Firmware, may be 0
|
||||
HSA_ENGINE_ID OverrideEngineId; // Identifier (rev) of the Overrided GPU uEngine or Firmware, may be 0
|
||||
|
||||
HSAuint16 VendorId; // GPU vendor id; 0 on latency (= CPU)-only nodes
|
||||
HSAuint16 DeviceId; // GPU device id; 0 on latency (= CPU)-only nodes
|
||||
|
||||
Referencia en una nueva incidencia
Block a user