Fixed HIP error check in P2P sample test
[ROCm/clr commit: 7951cd03b2]
Cette révision appartient à :
1 Parent
e753a118ed
révision
84c31c3623
1 fichier modifié
+1
-1
@@ -43,7 +43,7 @@ using namespace std;
|
||||
#define HIPCHECK(error) \
|
||||
{ \
|
||||
hipError_t localError = error; \
|
||||
if (localError != hipSuccess) { \
|
||||
if ((localError != hipSuccess)||(localError != hipErrorPeerAccessAlreadyEnabled)) { \
|
||||
printf("%serror: '%s'(%d) from %s at %s:%d%s\n", KRED, hipGetErrorString(localError), \
|
||||
localError, #error, __FILE__, __LINE__, KNRM); \
|
||||
failed("API returned error code."); \
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur