2
0

Set device before processing each one (#1358)

[ROCm/clr commit: d0b11deb7f]
Este cometimento está contido em:
chrispaquot
2019-08-23 02:19:50 -07:00
cometido por Maneesh Gupta
ascendente e8f69a8c36
cometimento 4b13efac04
+1
Ver ficheiro
@@ -192,6 +192,7 @@ int main(int argc, char* argv[]) {
HIPCHECK(hipGetDeviceCount(&deviceCnt));
for (int i = 0; i < deviceCnt; i++) {
hipSetDevice(i);
printDeviceProp(i);
}