SWDEV-342831 - Fix hipGetDeviceCount return
Change-Id: I3b0338a51027258319c1926ac02de8d0af01d498
[ROCm/clr commit: 4b9ea686f6]
Bu işleme şunda yer alıyor:
1 ebeveyn
86481e460d
işleme
7ad62083ee
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Bir kullanıcı engelle