Delegate del_CUoccupancyB2DSize
Block size to per-block dynamic shared memory mapping for a certain kernel.
e.g.: If no dynamic shared memory is used: x => 0
If 4 bytes shared memory per thread is used: x = 4 * x
Namespace: ManagedCuda.BasicTypes
Assembly: ManagedCuda.dll
Syntax
public delegate SizeT del_CUoccupancyB2DSize(int aBlockSize);
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | aBlockSize | block size |
Returns
Type | Description |
---|---|
SizeT | The dynamic shared memory needed by a block |