Use ROCclr Info.targetId_
Use Info.targetId_ instead of Info.name_ so it will work on Windows PAL driver and ROCm. Change-Id: I20537899c36c0ee330a4c09136a52e53d9f35e0d
Este cometimento está contido em:
@@ -200,7 +200,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.canMapHostMemory = 1;
|
||||
//FIXME: This should be removed, targets can have character names as well.
|
||||
deviceProps.gcnArch = info.gfxipMajor_ * 100 + info.gfxipMinor_ * 10 + info.gfxipStepping_;
|
||||
sprintf(deviceProps.gcnArchName, "%s", info.name_);
|
||||
sprintf(deviceProps.gcnArchName, "%s", info.targetId_);
|
||||
deviceProps.cooperativeLaunch = info.cooperativeGroups_;
|
||||
deviceProps.cooperativeMultiDeviceLaunch = info.cooperativeMultiDeviceGroups_;
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador