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

[ROCm/clr commit: ed04e96e2d]
Este commit está contenido en:
wkwchau
2019-08-02 06:00:25 -04:00
cometido por Maneesh Gupta
padre 75f1bb21b3
commit 7b0f478767
Se han modificado 3 ficheros con 14 adiciones y 0 borrados
+6
Ver fichero
@@ -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;