Fix hipMemcpyWithStream (#1707)

* Fix hipMemcpyWithStream
* Add a dtest for the same.


[ROCm/hip commit: 892d2a562e]
This commit is contained in:
Rahul Garg
2019-12-03 22:26:23 -08:00
committed by Maneesh Gupta
parent abe7531676
commit fa87abd58a
2 changed files with 57 additions and 1 deletions
+1 -1
View File
@@ -1354,7 +1354,7 @@ hipError_t hipMemcpyHtoH(void* dst, void* src, size_t sizeBytes) {
hipStreamNull));
}
hipError_t hipMemcpyWithStream(void* dst, void* src, size_t sizeBytes,
hipError_t hipMemcpyWithStream(void* dst, const void* src, size_t sizeBytes,
hipMemcpyKind kind, hipStream_t stream) {
HIP_INIT_SPECIAL_API(hipMemcpyWithStream, (TRACE_MCMD), dst, src, sizeBytes,
kind, stream);