2
0

SWDEV-342831 - Fix hipGetDeviceCount return

Change-Id: I3b0338a51027258319c1926ac02de8d0af01d498
Este cometimento está contido em:
Sarbojit Sarkar
2022-06-24 06:08:00 +00:00
cometido por Sarbojit Sarkar
ascendente 1074b22c48
cometimento 4b9ea686f6
+1 -1
Ver ficheiro
@@ -535,7 +535,7 @@ hipError_t hipGetDevice ( int* deviceId ) {
}
hipError_t hipGetDeviceCount ( int* count ) {
HIP_INIT_API(hipGetDeviceCount, count);
HIP_INIT_API_NO_RETURN(hipGetDeviceCount, count);
HIP_RETURN(ihipDeviceGetCount(count));
}