Kernel Class Reference
HiCR
|
HiCR::backend::opencl::Kernel Class Referenceabstract
#include <kernel.hpp>
Inheritance diagram for HiCR::backend::opencl::Kernel:

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()
|
default |
Default constructor
◆ ~Kernel()
|
default |
Default destructor
Member Function Documentation
◆ start()
|
pure virtual |
Start the execution of the kernel on the given queue
- Parameters
-
queue the 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
Generated by