SWDEV-209747 - Staging Copy will not be supported in HIP, adjust test case accordingly.

Change-Id: Iad616ef3990d539cdb82bbd8a22ea2124f7abe50
이 커밋은 다음에 포함됨:
kjayapra-amd
2020-06-22 19:26:54 -04:00
커밋한 사람 Karthik Jayaprakash
부모 6a47458764
커밋 a5c437c82e
5개의 변경된 파일과 35개의 추가작업 그리고 5개의 파일을 삭제
+6
파일 보기
@@ -39,6 +39,9 @@ int main() {
HIPCHECK(hipGetDeviceCount(&numDevices));
if (numDevices > 1) {
int canAccessPeer = 0;
hipDeviceCanAccessPeer(&canAccessPeer, 0, 1);
if (canAccessPeer) {
HIPCHECK(hipSetDevice(0));
unsigned blocks = HipTest::setNumBlocks(blocksPerCU, threadsPerBlock, N);
HipTest::initArrays(&A_d, &B_d, &C_d, &A_h, &B_h, &C_h, N, false);
@@ -72,6 +75,9 @@ int main() {
HIPCHECK(hipFree(X_d));
HIPCHECK(hipFree(Y_d));
HIPCHECK(hipFree(Z_d));
} else {
std::cout<<"Machine does not seem to have P2P Capabilities, Empty Pass"<<std::endl;
}
}
passed();
}