Fix D2DAsync test

[ROCm/clr commit: f1dc017167]
Cette révision appartient à :
Rahul Garg a révisé 2019-04-18 07:35:06 +05:30
1 Parent 2b42c0efeb
révision c6dd7c9678
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -58,8 +58,8 @@ int main() {
HIPCHECK(hipDeviceSynchronize());
HipTest::checkVectorADD(A_h, B_h, C_h, N);
HIPCHECK(hipStreamCreate(&s));
HIPCHECK(hipSetDevice(1));
HIPCHECK(hipStreamCreate(&s));
HIPCHECK(hipMemcpyDtoDAsync((hipDeviceptr_t)X_d, (hipDeviceptr_t)A_d, Nbytes, s));
HIPCHECK(hipMemcpyDtoDAsync((hipDeviceptr_t)Y_d, (hipDeviceptr_t)B_d, Nbytes, s));