Merge pull request #1028 from gargrahul/fix_d2d_async_test
[dtest] Fix D2DAsync test
[ROCm/clr commit: 3ba7afcfc1]
This commit is contained in:
@@ -58,8 +58,8 @@ int main() {
|
|||||||
HIPCHECK(hipDeviceSynchronize());
|
HIPCHECK(hipDeviceSynchronize());
|
||||||
HipTest::checkVectorADD(A_h, B_h, C_h, N);
|
HipTest::checkVectorADD(A_h, B_h, C_h, N);
|
||||||
|
|
||||||
HIPCHECK(hipStreamCreate(&s));
|
|
||||||
HIPCHECK(hipSetDevice(1));
|
HIPCHECK(hipSetDevice(1));
|
||||||
|
HIPCHECK(hipStreamCreate(&s));
|
||||||
HIPCHECK(hipMemcpyDtoDAsync((hipDeviceptr_t)X_d, (hipDeviceptr_t)A_d, Nbytes, 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));
|
HIPCHECK(hipMemcpyDtoDAsync((hipDeviceptr_t)Y_d, (hipDeviceptr_t)B_d, Nbytes, s));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user