SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName

Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13
Цей коміт міститься в:
Jatin Chaudhary authored and Jatin Jaikishan Chaudhary committed 2023-07-25 02:51:29 -04:00
1 джерело c674d94a12
коміт f136a576f5
3 files changed
+3 -4

No files matched your search

-2
Переглянути файл
@@ -337,8 +337,6 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device) {
deviceProps.pciDeviceID = info.deviceTopology_.pcie.device;
deviceProps.maxSharedMemoryPerMultiProcessor = info.localMemSizePerCU_;
deviceProps.canMapHostMemory = 1;
// FIXME: This should be removed, targets can have character names as well.
deviceProps.gcnArch = isa.versionMajor() * 100 + isa.versionMinor() * 10 + isa.versionStepping();
sprintf(deviceProps.gcnArchName, "%s", isa.targetId());
deviceProps.cooperativeLaunch = info.cooperativeGroups_;
deviceProps.cooperativeMultiDeviceLaunch = info.cooperativeMultiDeviceGroups_;