Interface ICudaVectorTypeForArray
Define a common interface for all CUDA vector types supported by CudaArrays
Namespace: ManagedCuda.VectorTypes
Assembly: ManagedCuda.dll
Syntax
public interface ICudaVectorTypeForArray
Methods
| Improve this Doc View SourceGetChannelNumber()
Returns the Channel number from vector type, e.g. 3 for float3
Declaration
uint GetChannelNumber()
Returns
Type | Description |
---|---|
System.UInt32 |
GetCUArrayFormat()
Returns a matching CUArrayFormat. If none is availabe a CudaException is thrown.
Declaration
CUArrayFormat GetCUArrayFormat()
Returns
Type | Description |
---|---|
CUArrayFormat |