|
gpu_memcpy.hpp
Go to the documentation of this file.
142gpuMemcpyHostToDeviceAsync(T* dstDevice, const T* srcHost, std::size_t count, cudaStream_t stream)
174gpuMemcpyDeviceToHostAsync(T* dstHost, const T* srcDevice, std::size_t count, cudaStream_t stream)
#define OPM_GPUISTL_DETAIL_ASSERT_DEVICE_POINTER(x) Captures the argument name for assertDevicePointer (call site via source_location). Definition: gpu_pointer_attributes.hpp:223 #define OPM_GPUISTL_DETAIL_ASSERT_HOST_POINTER(x) Captures the argument name for assertHostPointer (call site via source_location). Definition: gpu_pointer_attributes.hpp:218 #define OPM_GPU_SAFE_CALL(expression) OPM_GPU_SAFE_CALL checks the return type of the GPU expression (function call) and throws an exceptio... Definition: gpu_safe_call.hpp:164 #define OPM_GPUISTL_DETAIL_ASSERT_GPU_STREAM(x) Captures the argument name for assertCudaStream (call site via source_location). Definition: gpu_stream.hpp:89 Definition: autotuner.hpp:30 void 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. Definition: gpu_memcpy.hpp:142 void gpuMemcpyHostToDevice(T *dstDevice, const T *srcHost, std::size_t count) gpuMemcpyHostToDevice copies count elements of type T from host to device. Definition: gpu_memcpy.hpp:65 void 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. Definition: gpu_memcpy.hpp:174 void gpuMemcpyDeviceToHost(T *dstHost, const T *srcDevice, std::size_t count) gpuMemcpyDeviceToHost copies count elements of type T from device to host. Definition: gpu_memcpy.hpp:88 void gpuMemcpyDeviceToDevice(T *dstDevice, const T *srcDevice, std::size_t count) gpuMemcpyDeviceToDevice copies count elements of type T from device to device. Definition: gpu_memcpy.hpp:111 void gpuMemsetZero(void *dstDevice, std::size_t byteCount) Clear byteCount bytes of device memory to zero on the default stream. Definition: gpu_memcpy.hpp:43 |