Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName"
This reverts commit20add33513. Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012 [ROCm/clr commit:8c89d16572]
This commit is contained in:
1 parent
62573a3ec4
commit
045ec1919e
3 files changed
+4
-3
No files matched your search
@@ -337,6 +337,8 @@ 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_;
|
||||
|
||||
Reference in new issue
Block a user