Added CooperativeLaunch and CooperativeMultiDeviceLaunch flag and property for hipDeviceGetAttribute() and hipGetDeviceProperties() (#1247)

[ROCm/hip commit: aaec4f73a6]
Bu işleme şunda yer alıyor:
wkwchau
2019-08-02 06:00:25 -04:00
işlemeyi yapan: Maneesh Gupta
ebeveyn c666fdaa08
işleme b663dbc5ce
3 değiştirilmiş dosya ile 14 ekleme ve 0 silme
+6
Dosyayı Görüntüle
@@ -305,6 +305,12 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device
*hdp = prop->hdpRegFlushCntl;
}
break;
case hipDeviceAttributeCooperativeLaunch:
*pi = prop->cooperativeLaunch;
break;
case hipDeviceAttributeCooperativeMultiDeviceLaunch:
*pi = prop->cooperativeMultiDeviceLaunch;
break;
default:
e = hipErrorInvalidValue;
break;