/home/runner/work/HiCR/HiCR/include/hicr/backends/ascend/memoryKernel.hpp Source File
HiCR
|
memoryKernel.hpp
Go to the documentation of this file.
79 __INLINE__ void start(const aclrtStream stream) override { _commManager->memcpyAsync(_dst, _dstOffset, _src, _srcOffset, _size, stream); }
This file implements the Kernel class for the Ascend backend.
This file implements the communication manager class for the Ascend backend.
Definition communicationManager.hpp:49
__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 aclrtStream stream)
Definition communicationManager.hpp:92
Definition kernel.hpp:36
Definition memoryKernel.hpp:40
__INLINE__ void start(const aclrtStream stream) override
Definition memoryKernel.hpp:79
MemoryKernel(ascend::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:53
Provides a definition for a HiCR Local Memory Slot class.
Provides a failure model and corresponding exception classes.
Generated by