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
committato da Maneesh Gupta
parent abe7531676
commit fa87abd58a
2 ha cambiato i file con 57 aggiunte e 1 eliminazioni
+1 -1
Vedi 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);