Kernel Class Reference

HiCR: HiCR::backend::ascend::Kernel Class Reference
HiCR
HiCR::backend::ascend::Kernel Class Referenceabstract

#include <kernel.hpp>

Inheritance diagram for HiCR::backend::ascend::Kernel:
HiCR::backend::ascend::ComputationKernel HiCR::backend::ascend::MemoryKernel

Public Member Functions

__INLINE__ ~Kernel ()=default
 
virtual __INLINE__ void start (const aclrtStream stream)=0
 

Detailed Description

This class represents a replicable kernel for the Ascend backend. A Kernel is a piece of computation meant to be executed on an Ascend device.

Constructor & Destructor Documentation

◆ ~Kernel()

__INLINE__ HiCR::backend::ascend::Kernel::~Kernel ( )
default

Default destructor

Member Function Documentation

◆ start()

virtual __INLINE__ void HiCR::backend::ascend::Kernel::start ( const aclrtStream  stream)
pure virtual

Start the execution of the kernel on the given stream

Parameters
streamthe stream on which the kernel is started

Implemented in HiCR::backend::ascend::ComputationKernel, and HiCR::backend::ascend::MemoryKernel.


The documentation for this class was generated from the following file:
  • /home/runner/work/HiCR/HiCR/include/hicr/backends/ascend/kernel.hpp