ILGPU  0.9.0
ILGPU.Backends.OpenCL.CLCompiledKernel Class Reference

Represents a compiled kernel in OpenCL source form. More...

Inheritance diagram for ILGPU.Backends.OpenCL.CLCompiledKernel:
ILGPU.Backends.CompiledKernel

Public Member Functions

 CLCompiledKernel (Context context, SeparateViewEntryPoint entryPoint, KernelInfo info, string source, CLCVersion version)
 Constructs a new compiled kernel in OpenCL source form. More...
 
- Public Member Functions inherited from ILGPU.Backends.CompiledKernel
override string ToString ()
 Returns the string representation of this kernel. More...
 

Public Attributes

const string EntryName = "ILGPUKernel"
 The entry name of the kernel function. More...
 
- Public Attributes inherited from ILGPU.Backends.CompiledKernel
MethodInfo SourceMethod => EntryPoint.MethodInfo
 Represents the source method. More...
 
IndexType IndexType => EntryPoint.IndexType
 Returns the index type of the entry point. More...
 
KernelSpecialization Specialization => EntryPoint.Specialization
 Returns the associated kernel specialization. More...
 

Properties

string Source [get]
 Returns the OpenCL source code. More...
 
CLCVersion CVersion [get]
 Returns the used OpenCL C version. More...
 
- Properties inherited from ILGPU.Backends.CompiledKernel
Context Context [get]
 Returns the associated context. More...
 
KernelInfo Info [get]
 Returns information about all functions in the compiled kernel. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ILGPU.Backends.CompiledKernel
 CompiledKernel (Context context, EntryPoint entryPoint, KernelInfo info)
 Constructs a new compiled kernel. More...
 

Detailed Description

Represents a compiled kernel in OpenCL source form.

Constructor & Destructor Documentation

ILGPU.Backends.OpenCL.CLCompiledKernel.CLCompiledKernel ( Context  context,
SeparateViewEntryPoint  entryPoint,
KernelInfo  info,
string  source,
CLCVersion  version 
)

Constructs a new compiled kernel in OpenCL source form.

Parameters
contextThe associated context.
entryPointThe entry point.
infoDetailed kernel information.
sourceThe source code.
versionThe OpenCL C version.

Member Data Documentation

const string ILGPU.Backends.OpenCL.CLCompiledKernel.EntryName = "ILGPUKernel"

The entry name of the kernel function.

Property Documentation

CLCVersion ILGPU.Backends.OpenCL.CLCompiledKernel.CVersion
get

Returns the used OpenCL C version.

string ILGPU.Backends.OpenCL.CLCompiledKernel.Source
get

Returns the OpenCL source code.


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