gpu_memcpy.hpp File Reference
Include dependency graph for gpu_memcpy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::gpuistl
 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA device code.
 
namespace  Opm::gpuistl::detail
 

Functions

template<typename T >
void Opm::gpuistl::detail::gpuMemcpyHostToDevice (T *dstDevice, const T *srcHost, std::size_t count)
 gpuMemcpyHostToDevice copies count elements of type T from host to device. More...
 
template<typename T >
void Opm::gpuistl::detail::gpuMemcpyDeviceToHost (T *dstHost, const T *srcDevice, std::size_t count)
 gpuMemcpyDeviceToHost copies count elements of type T from device to host. More...
 
template<typename T >
void Opm::gpuistl::detail::gpuMemcpyDeviceToDevice (T *dstDevice, const T *srcDevice, std::size_t count)
 gpuMemcpyDeviceToDevice copies count elements of type T from device to device. More...
 
template<typename T >
void Opm::gpuistl::detail::gpuMemcpyHostToDeviceAsync (T *dstDevice, const T *srcHost, std::size_t count, cudaStream_t stream)
 gpuMemcpyHostToDeviceAsync copies count elements of type T from host to device asynchronously. More...
 
template<typename T >
void Opm::gpuistl::detail::gpuMemcpyDeviceToHostAsync (T *dstHost, const T *srcDevice, std::size_t count, cudaStream_t stream)
 gpuMemcpyDeviceToHostAsync copies count elements of type T from device to host asynchronously. More...