Change ihipDeviceSetState,ihipDevice* so it doesn't log error
Cleans up debug trace.
이 커밋은 다음에 포함됨:
1 부모
6ca2b289a2
커밋
8209320ef0
1 파일이 변경됨
+3
-3
+3
-3
@@ -189,7 +189,7 @@ hipError_t ihipDeviceSetState(void)
|
||||
e = hipSuccess;
|
||||
}
|
||||
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device
|
||||
} else {
|
||||
e = hipErrorInvalidDevice;
|
||||
}
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
|
||||
@@ -287,7 +287,7 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, int device)
|
||||
e = hipErrorInvalidDevice;
|
||||
}
|
||||
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
hipError_t hipGetDeviceProperties(hipDeviceProp_t* props, int device)
|
||||
|
||||
새 이슈에서 참조
사용자 차단