ILGPU  0.9.0
ILGPU.Backends.EntryPoints.SharedMemorySpecification Struct Reference

Represents a shared memory specification of a specific kernel. More...

Public Member Functions

 SharedMemorySpecification (int staticSize, bool hasDynamicMemory)
 Constructs a new shared memory specification. More...
 

Public Attributes

bool HasSharedMemory => HasStaticMemory | HasDynamicMemory
 Returns true if the current specification. More...
 
bool HasStaticMemory => StaticSize > 0
 Returns true if the current specification required static shared memory. More...
 

Properties

int StaticSize [get]
 Returns the amount of shared memory. More...
 
bool HasDynamicMemory [get]
 Returns true if the current specification requires dynamic shared memory. More...
 

Detailed Description

Represents a shared memory specification of a specific kernel.

Constructor & Destructor Documentation

ILGPU.Backends.EntryPoints.SharedMemorySpecification.SharedMemorySpecification ( int  staticSize,
bool  hasDynamicMemory 
)

Constructs a new shared memory specification.

Parameters
staticSizeThe static shared memory size.
hasDynamicMemoryTrue, if this specification requires dynamic shared memory.

Member Data Documentation

bool ILGPU.Backends.EntryPoints.SharedMemorySpecification.HasSharedMemory => HasStaticMemory | HasDynamicMemory

Returns true if the current specification.

bool ILGPU.Backends.EntryPoints.SharedMemorySpecification.HasStaticMemory => StaticSize > 0

Returns true if the current specification required static shared memory.

Property Documentation

bool ILGPU.Backends.EntryPoints.SharedMemorySpecification.HasDynamicMemory
get

Returns true if the current specification requires dynamic shared memory.

int ILGPU.Backends.EntryPoints.SharedMemorySpecification.StaticSize
get

Returns the amount of shared memory.


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