ILGPU  0.9.0
ILGPU.Backends.IL.SkipCodeGenerationDefaultILBackend Class Reference

The default IL backend that uses the original kernel method. However, it does not generate general IR code (debugging purposes). More...

Inheritance diagram for ILGPU.Backends.IL.SkipCodeGenerationDefaultILBackend:
ILGPU.Backends.IL.DefaultILBackend ILGPU.Backends.IL.ILBackend ILGPU.Backends.Backend

Public Member Functions

override CompiledKernel Compile< TBackendHandler > (in EntryPointDescription entry, in KernelSpecialization specialization, TBackendHandler backendHandler)
 Compiles a given compile unit with the specified entry point using the given kernel specialization. More...
 

Public Attributes

const int SharedMemoryPerKernel = 1024 * 1024
 The default amount of shared memory per kernel in bytes. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ILGPU.Backends.IL.DefaultILBackend
override void GenerateLocals< TEmitter > (EntryPoint entryPoint, TEmitter emitter, KernelGenerationData kernelData, ImmutableArray< FieldInfo > taskArgumentMapping, ILLocal task)
 Generates code that caches all task fields in local variables. More...
 
override void GenerateCode< TEmitter > (EntryPoint entryPoint, in BackendContext backendContext, TEmitter emitter, KernelGenerationData kernelData)
 Generates the actual kernel invocation call. More...
 
- Protected Member Functions inherited from ILGPU.Backends.IL.ILBackend
sealed override CompiledKernel Compile (EntryPoint entryPoint, in BackendContext backendContext, in KernelSpecialization specialization)
 Creates a new ILCompiledKernel instance. More...
 
- Properties inherited from ILGPU.Backends.IL.ILBackend
int WarpSize [get]
 Returns the associated warp size. More...
 

Detailed Description

The default IL backend that uses the original kernel method. However, it does not generate general IR code (debugging purposes).

Member Function Documentation

override CompiledKernel ILGPU.Backends.IL.SkipCodeGenerationDefaultILBackend.Compile< TBackendHandler > ( in EntryPointDescription  entry,
in KernelSpecialization  specialization,
TBackendHandler  backendHandler 
)

Compiles a given compile unit with the specified entry point using the given kernel specialization.

Template Parameters
TBackendHandlerThe backend handler type.
Parameters
entryThe desired entry point.
specializationThe kernel specialization.
backendHandlerThe backend handler.
Returns
The compiled kernel that represents the compilation result.

Member Data Documentation

const int ILGPU.Backends.IL.SkipCodeGenerationDefaultILBackend.SharedMemoryPerKernel = 1024 * 1024

The default amount of shared memory per kernel in bytes.

Note that this amount is only valid in the scope of the ContextFlags.SkipCPUCodeGeneration setting.


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