Fix hipMemcpyWithStream (#1707)

* Fix hipMemcpyWithStream
* Add a dtest for the same.
Tento commit je obsažen v:
Rahul Garg
2019-12-03 22:26:23 -08:00
odevzdal Maneesh Gupta
rodič 8eaea4d114
revize 261a04580f
2 změnil soubory, kde provedl 57 přidání a 1 odebrání
+1 -1
Zobrazit soubor
@@ -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);