/home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/memoryKernel.hpp Source File
HiCR
|
memoryKernel.hpp
Go to the documentation of this file.
81 __INLINE__ void start(const cl::CommandQueue *queue) override { _commManager->memcpyAsync(_dst.lock(), _dstOffset, _src.lock(), _srcOffset, _size, queue); }
This file implements the communication manager class for the OpenCL backend.
Definition communicationManager.hpp:41
__INLINE__ void memcpyAsync(const std::shared_ptr< HiCR::LocalMemorySlot > &destination, const size_t dst_offset, const std::shared_ptr< HiCR::LocalMemorySlot > &source, const size_t src_offset, const size_t size, const cl::CommandQueue *queue)
Definition communicationManager.hpp:68
Definition kernel.hpp:37
Definition memoryKernel.hpp:42
__INLINE__ void start(const cl::CommandQueue *queue) override
Definition memoryKernel.hpp:81
MemoryKernel(opencl::CommunicationManager *commManager, std::shared_ptr< HiCR::LocalMemorySlot > destination, const size_t destinationOffset, std::shared_ptr< HiCR::LocalMemorySlot > source, const size_t sourceOffset, size_t size)
Definition memoryKernel.hpp:55
Provides a definition for a HiCR Local Memory Slot class.
Provides a failure model and corresponding exception classes.
This file implements the Kernel class for the OpenCL backend.
Generated by