ILGPU  0.9.0
ILGPU.Backends.PointerViews.ViewArgumentMapper Class Reference

Maps array views to pointer implementations. More...

Inheritance diagram for ILGPU.Backends.PointerViews.ViewArgumentMapper:
ILGPU.Backends.EntryPoints.ArgumentMapper ILGPU.ICache ILGPU.Backends.PTX.PTXArgumentMapper

Protected Member Functions

 ViewArgumentMapper (Context context)
 Constructs a new view argument mapper. More...
 
sealed override Type MapViewType (Type viewType, Type elementType)
 Maps an internal view type to a pointer implementation type. More...
 
sealed override void MapViewInstance< TILEmitter, TSource, TTarget > (in TILEmitter emitter, Type elementType, TSource source, TTarget target)
 Maps an internal view instance to a pointer instance. More...
 
- Protected Member Functions inherited from ILGPU.Backends.EntryPoints.ArgumentMapper
 ArgumentMapper (Context context)
 Constructs a new argument mapper. More...
 
Type MapStructType (Type structType)
 Maps the given structure type to a compatible structure type. More...
 
Type RegisterTypeMapping (Type type, Type mappedType)
 Registers a type mapping entry and returns the mapped type. More...
 
Type MapType (Type type)
 Maps the given source type to a compatible target type. More...
 
void MapStructInstance< TILEmitter, TSource, TTarget > (in TILEmitter emitter, TSource source, TTarget target)
 Maps a specific structure instance. More...
 
void MapInstance< TILEmitter, TSource, TTarget > (in TILEmitter emitter, TSource source, TTarget target)
 Maps a value instance. More...
 
void Map< TILEmitter, TMappingHandler > (in TILEmitter emitter, in TMappingHandler mappingHandler, in ParameterCollection parameters)
 Creates code that maps the given parameter specification to a compatible representation. More...
 

Additional Inherited Members

- Public Member Functions inherited from ILGPU.Backends.EntryPoints.ArgumentMapper
void ClearCache (ClearCacheMode mode)
 Clears internal caches. More...
 
- Static Protected Member Functions inherited from ILGPU.Backends.EntryPoints.ArgumentMapper
static void MapViews< TILEmitter, TMappingHandler > (in TILEmitter emitter, in TMappingHandler mappingHandler, SeparateViewEntryPoint entryPoint)
 Creates code that maps (potentially nested) views of kernel arguments separately. More...
 
- Properties inherited from ILGPU.Backends.EntryPoints.ArgumentMapper
Context Context [get]
 Returns the associated context. More...
 
TypeInformationManager TypeInformationManager [get]
 Returns the associated type-information manager. More...
 

Detailed Description

Maps array views to pointer implementations.

Members of this class are not thread safe.

Constructor & Destructor Documentation

ILGPU.Backends.PointerViews.ViewArgumentMapper.ViewArgumentMapper ( Context  context)
protected

Constructs a new view argument mapper.

Parameters
contextThe current context.

Member Function Documentation

sealed override void ILGPU.Backends.PointerViews.ViewArgumentMapper.MapViewInstance< TILEmitter, TSource, TTarget > ( in TILEmitter  emitter,
Type  elementType,
TSource  source,
TTarget  target 
)
protectedvirtual

Maps an internal view instance to a pointer instance.

Implements ILGPU.Backends.EntryPoints.ArgumentMapper.

sealed override Type ILGPU.Backends.PointerViews.ViewArgumentMapper.MapViewType ( Type  viewType,
Type  elementType 
)
protectedvirtual

Maps an internal view type to a pointer implementation type.

Implements ILGPU.Backends.EntryPoints.ArgumentMapper.


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