Fix D2DAsync test

[ROCm/hip commit: e5e7651a4a]
此提交包含在:
Rahul Garg
2019-04-18 07:35:06 +05:30
父節點 a8763347a5
當前提交 d0951a9c20
+1 -1
查看文件
@@ -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));