Fix hipMemcpyWithStream (#1707)

* Fix hipMemcpyWithStream
* Add a dtest for the same.
This commit is contained in:
Rahul Garg
2019-12-03 22:26:23 -08:00
کامیت شده توسط Maneesh Gupta
والد 8eaea4d114
کامیت 261a04580f
2فایلهای تغییر یافته به همراه57 افزوده شده و 1 حذف شده
+1 -1
مشاهده پرونده
@@ -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);