Fix hipMemcpyWithStream (#1707)

* Fix hipMemcpyWithStream
* Add a dtest for the same.


[ROCm/hip commit: 892d2a562e]
This commit is contained in:
Rahul Garg authored and Maneesh Gupta committed 2019-12-04 11:56:23 +05:30
1 parent abe7531676
commit fa87abd58a
2 files changed
+57 -1

No files matched your search

+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);