cuda_memcpy_async.hpp
1 
5 #pragma once
6 
7 #include <cstddef>
8 
9 #include <cudf/detail/utilities/cuda_memcpy.hpp>
10 #include <rmm/cuda_stream_view.hpp>
11 
12 namespace rapidsmpf {
13 
44 [[nodiscard]] inline cudaError_t cuda_memcpy_async(
45  void* dst, void const* src, std::size_t count, rmm::cuda_stream_view stream
46 ) {
47  return cudf::detail::memcpy_async(dst, src, count, stream);
48 }
49 
50 } // namespace rapidsmpf
RAPIDS Multi-Processor interfaces.
Definition: backend.hpp:14
cudaError_t cuda_memcpy_async(void *dst, void const *src, std::size_t count, rmm::cuda_stream_view stream)
Asynchronously copies memory between host and/or device buffers.