Kernel Class Reference

HiCR: HiCR::backend::opencl::Kernel Class Reference
HiCR
HiCR::backend::opencl::Kernel Class Referenceabstract

#include <kernel.hpp>

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

Public Member Functions

__INLINE__ Kernel ()=default
 
__INLINE__ ~Kernel ()=default
 
virtual __INLINE__ void start (const cl::CommandQueue *queue)=0
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Kernel()

__INLINE__ HiCR::backend::opencl::Kernel::Kernel ( )
default

Default constructor

◆ ~Kernel()

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

Default destructor

Member Function Documentation

◆ start()

virtual __INLINE__ void HiCR::backend::opencl::Kernel::start ( const cl::CommandQueue *  queue)
pure virtual

Start the execution of the kernel on the given queue

Parameters
queuethe queue on which the kernel is started

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


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