Fix error codes in P2P sample test

이 커밋은 다음에 포함됨:
Rahul Garg가 2019-02-05 06:30:57 +05:30를 커밋했습니다
1 부모 a9c41b7a74
커밋 3e2f946d3f
1 파일이 변경됨
+2 -1
+2 -1
파일 보기
@@ -43,7 +43,8 @@ using namespace std;
#define HIPCHECK(error) \
{ \
hipError_t localError = error; \
if ((localError != hipSuccess)||(localError != hipErrorPeerAccessAlreadyEnabled)) { \
if ((localError != hipSuccess)&& (localError != hipErrorPeerAccessAlreadyEnabled)&& \
(localError != hipErrorPeerAccessNotEnabled )) { \
printf("%serror: '%s'(%d) from %s at %s:%d%s\n", KRED, hipGetErrorString(localError), \
localError, #error, __FILE__, __LINE__, KNRM); \
failed("API returned error code."); \