Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function is used to query the amount of parameter space required to execute the RNN described by 
/// rnnDesc with inputs dimensions defined by xDesc. 
/// </summary>
/// <param name="handle">Handle to a previously created cuDNN library descriptor.</param>
/// <param name="rnnDesc">A previously initialized RNN descriptor.</param>
/// <param name="xDesc">A fully packed tensor descriptor describing the input to one recurrent iteration.</param>
/// <param name="sizeInBytes">Minimum amount of GPU memory needed as parameter space to be able to execute an RNN with the specified descriptor and input tensors.</param>
/// <param name="dataType">The data type of the parameters.</param>
This function is used to query the amount of parameter space required to execute the RNN described by
rnnDesc with inputs dimensions defined by xDesc.
This function is used to query the amount of parameter space required to execute the RNN described by rnnDesc with inputs dimensions defined by xDesc .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnGetRNNParamsSize(cudnnHandle handle,
                                                 cudnnRNNDescriptor rnnDesc,
                                                 cudnnTensorDescriptor xDesc,
                                                 ref SizeT                     sizeInBytes,
                                                 cudnnDataType dataType);
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetRNNParamsSize ( cudnnHandle handle , cudnnRNNDescriptor rnnDesc , cudnnTensorDescriptor xDesc , ref SizeT sizeInBytes , cudnnDataType dataType ) ;
This function is used to query the amount of parameter space required to execute the RNN described by
rnnDesc with inputs dimensions defined by xDesc.
This function is used to query the amount of parameter space required to execute the RNN described by rnnDesc with inputs dimensions defined by xDesc .
handle
cudnnHandle
Handle to a previously created cuDNN library descriptor.
Handle to a previously created cuDNN library descriptor .
rnnDesc
cudnnRNNDescriptor
A previously initialized RNN descriptor.
A previously initialized RNN descriptor .
xDesc
cudnnTensorDescriptor
A fully packed tensor descriptor describing the input to one recurrent iteration.
A fully packed tensor descriptor describing the input to one recurrent iteration .
SizeT
ref
dataType
cudnnDataType
The data type of the parameters.
The data type of the parameters .
sizeInBytes
Minimum amount of GPU memory needed as parameter space to be able to execute an RNN with the specified descriptor and input tensors.
Minimum amount of GPU memory needed as parameter space to be able to execute an RNN with the specified descriptor and input tensors .