ILGPU  0.9.0
ILGPU.Runtime.Cuda.API Namespace Reference

Classes

class  CudaAPI
 Wraps the Cuda-driver API. More...
 
class  CudaAPIUnix
 Represents the Cuda-driver API for Unix. More...
 
class  CudaAPIWindows
 Represents the Cuda-driver API for Windows. More...
 
class  NotSupportedCudaAPI
 Represents the not-supported Cuda-driver API. More...
 

Functions

delegate IntPtr ComputeDynamicMemorySizeForBlockSize (int blockSize)
 Computes the amount of shared memory for the given block size. More...
 
delegate int ComputeManagedDynamicMemorySizeForBlockSize (int blockSize)
 Computes the amount of shared memory for the given block size. More...
 

Function Documentation

delegate IntPtr ILGPU.Runtime.Cuda.API.ComputeDynamicMemorySizeForBlockSize ( int  blockSize)

Computes the amount of shared memory for the given block size.

Parameters
blockSizeThe block size.
Returns
The amount of required shared memory.
delegate int ILGPU.Runtime.Cuda.API.ComputeManagedDynamicMemorySizeForBlockSize ( int  blockSize)

Computes the amount of shared memory for the given block size.

Parameters
blockSizeThe block size.
Returns
The amount of required shared memory.