UraniumCompute 0.1.0
A GPU accelerated parallel task scheduler
UN::IKernel Class Referenceabstract

An interface for compute kernel - a program running on the device. More...

#include <IKernel.h>

Inheritance diagram for UN::IKernel:
UN::IDeviceObject UN::IObject UN::Object< IKernel > UN::DeviceObjectBase< IKernel > UN::KernelBase UN::VulkanKernel

Public Types

using DescriptorType = KernelDesc
 

Public Member Functions

virtual const DescriptorTypeGetDesc () const =0
 
virtual ResultCode Init (const DescriptorType &desc)=0
 Creates and initializes a kernel object. More...
 
- Public Member Functions inherited from UN::IDeviceObject
virtual std::string_view GetDebugName () const =0
 Get debug name of the object.
 
virtual void Reset ()=0
 Reset the object to uninitialized state. More...
 
virtual IComputeDeviceGetDevice () const =0
 Get the compute device this object was created on. More...
 
- Public Member Functions inherited from UN::IObject
virtual UInt32 AddRef ()=0
 Add a strong reference to object's reference counter. More...
 
virtual UInt32 Release ()=0
 Remove a strong reference from object's reference counter. More...
 
virtual void AttachRefCounter (ReferenceCounter *counter)=0
 Attach a ReferenceCounter to this object. More...
 
virtual ReferenceCounterGetRefCounter ()=0
 Get reference counter that belongs to this object. More...
 

Detailed Description

An interface for compute kernel - a program running on the device.

Member Function Documentation

◆ Init()

virtual ResultCode UN::IKernel::Init ( const DescriptorType desc)
pure virtual

Creates and initializes a kernel object.

Parameters
desc- Kernel descriptor.
Returns
ResultCode::Success or an error code.

Implemented in UN::KernelBase.


The documentation for this class was generated from the following file: