Fixed hipPeerToPeer_simple test

- Moved test inside p2p dir
- Updated HIPCHECK to ignore hipErrorPeerAccessAlreadyEnabled
- Added check for mGPUs


[ROCm/hip commit: b32489700c]
Tento commit je obsažen v:
Rahul Garg
2017-12-11 15:21:39 +05:30
rodič 527e3a1a07
revize 3676c97982
2 změnil soubory, kde provedl 9 přidání a 2 odebrání
+1 -1
Zobrazit soubor
@@ -70,7 +70,7 @@ THE SOFTWARE.
#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,\