Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function queries a previously initialized convolution descriptor object.
/// </summary>
/// <param name="convDesc">Handle to a previously created convolution descriptor.</param>
/// <param name="arrayLengthRequested">Dimension of the expected convolution descriptor. It is also the
/// minimum size of the arrays padA, filterStrideA and upsacleA in
/// order to be able to hold the results</param>
/// <param name="arrayLength">actual dimension of the convolution descriptor.</param>
/// <param name="padA">Array of dimension of at least arrayLengthRequested that will be
/// filled with the padding parameters from the provided convolution
/// descriptor.</param>
/// <param name="strideA">Array of dimension of at least arrayLengthRequested that will be
/// filled with the filter stride from the provided convolution descriptor.</param>
/// <param name="dilationA">Array of dimension at least arrayLengthRequested that will be filled
/// with the dilation parameters from the provided convolution descriptor.</param>
/// <param name="mode">convolution mode of the provided descriptor.</param>
/// <param name="computeType">datatype of the provided descriptor.</param>
This function queries a previously initialized convolution descriptor object.
This function queries a previously initialized convolution descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]  
		public static extern cudnnStatus cudnnGetConvolutionNdDescriptor(cudnnConvolutionDescriptor convDesc,
                                                              int arrayLengthRequested,
                                                              ref int arrayLength,
                                                              int[] padA,                                        
                                                              int[] strideA,
                                                              int[] dilationA,
                                                              ref cudnnConvolutionMode mode,
                                                              ref cudnnDataType computeType     
                                                         );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetConvolutionNdDescriptor ( cudnnConvolutionDescriptor convDesc , int arrayLengthRequested , ref int arrayLength , int [ ] padA , int [ ] strideA , int [ ] dilationA , ref cudnnConvolutionMode mode , ref cudnnDataType computeType ) ;
This function queries a previously initialized convolution descriptor object.
This function queries a previously initialized convolution descriptor object .
// convolution data type
convDesc
cudnnConvolutionDescriptor
Handle to a previously created convolution descriptor.
Handle to a previously created convolution descriptor .
arrayLengthRequested
int
Dimension of the expected convolution descriptor. It is also the
minimum size of the arrays padA, filterStrideA and upsacleA in
order to be able to hold the results
Dimension of the expected convolution descriptor . It is also the minimum size of the arrays padA filterStrideA and upsacleA in order to be able to hold the results
int
ref
padA
int[]
Array of dimension of at least arrayLengthRequested that will be
filled with the padding parameters from the provided convolution
descriptor.
Array of dimension of at least arrayLengthRequested that will be filled with the padding parameters from the provided convolution descriptor .
strideA
int[]
Array of dimension of at least arrayLengthRequested that will be
filled with the filter stride from the provided convolution descriptor.
Array of dimension of at least arrayLengthRequested that will be filled with the filter stride from the provided convolution descriptor .
dilationA
int[]
Array of dimension at least arrayLengthRequested that will be filled
with the dilation parameters from the provided convolution descriptor.
Array of dimension at least arrayLengthRequested that will be filled with the dilation parameters from the provided convolution descriptor .
cudnnConvolutionMode
ref
cudnnDataType
ref
arrayLength
actual dimension of the convolution descriptor.
actual dimension of the convolution descriptor .
mode
convolution mode of the provided descriptor.
convolution mode of the provided descriptor .
computeType
datatype of the provided descriptor.
datatype of the provided descriptor .