Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function attempts all cuDNN algorithms for
/// cudnnConvolutionBackwardData and outputs performance metrics to a user-
/// allocated array of cudnnConvolutionBwdDataAlgoPerf_t. These metrics are written
/// in sorted fashion where the first element has the lowest compute time.
/// </summary>
/// <param name="handle">Handle to a previously created cuDNN context.</param>
/// <param name="wDesc">Handle to a previously initialized filter descriptor.</param>
/// <param name="dyDesc">Handle to the previously initialized input differential tensor descriptor.</param>
/// <param name="convDesc">Previously initialized convolution descriptor.</param>
/// <param name="dxDesc">Handle to the previously initialized output tensor descriptor.</param>
/// <param name="requestedAlgoCount">The maximum number of elements to be stored in perfResults.</param>
/// <param name="returnedAlgoCount">The number of output elements stored in perfResults.</param>
/// <param name="perfResults">A user-allocated array to store performance metrics sorted ascending by compute time.</param>
This function attempts all cuDNN algorithms for
cudnnConvolutionBackwardData and outputs performance metrics to a user
allocated array of cudnnConvolutionBwdDataAlgoPerf_t. These metrics are written
in sorted fashion where the first element has the lowest compute time.
This function attempts all cuDNN algorithms for cudnnConvolutionBackwardData and outputs performance metrics to a user allocated array of cudnnConvolutionBwdDataAlgoPerf_t . These metrics are written in sorted fashion where the first element has the lowest compute time .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnFindConvolutionBackwardDataAlgorithm( cudnnHandle handle,
                                                                     cudnnFilterDescriptor       wDesc,
                                                                     cudnnTensorDescriptor       dyDesc,
                                                                     cudnnConvolutionDescriptor  convDesc, 
                                                                     cudnnTensorDescriptor       dxDesc,
                                                                     int                           requestedAlgoCount,
                                                                     ref int                               returnedAlgoCount,
                                                                     cudnnConvolutionBwdDataAlgoPerf[] perfResults  
                                                                   );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnFindConvolutionBackwardDataAlgorithm ( cudnnHandle handle , cudnnFilterDescriptor wDesc , cudnnTensorDescriptor dyDesc , cudnnConvolutionDescriptor convDesc , cudnnTensorDescriptor dxDesc , int requestedAlgoCount , ref int returnedAlgoCount , cudnnConvolutionBwdDataAlgoPerf [ ] perfResults ) ;
This function attempts all cuDNN algorithms for
cudnnConvolutionBackwardData and outputs performance metrics to a user
allocated array of cudnnConvolutionBwdDataAlgoPerf_t.
This function attempts all cuDNN algorithms for cudnnConvolutionBackwardData and outputs performance metrics to a user allocated array of cudnnConvolutionBwdDataAlgoPerf_t .
handle
cudnnHandle
Handle to a previously created cuDNN context.
Handle to a previously created cuDNN context .
wDesc
cudnnFilterDescriptor
Handle to a previously initialized filter descriptor.
Handle to a previously initialized filter descriptor .
dyDesc
cudnnTensorDescriptor
Handle to the previously initialized input differential tensor descriptor.
Handle to the previously initialized input differential tensor descriptor .
convDesc
cudnnConvolutionDescriptor
Previously initialized convolution descriptor.
Previously initialized convolution descriptor .
dxDesc
cudnnTensorDescriptor
Handle to the previously initialized output tensor descriptor.
Handle to the previously initialized output tensor descriptor .
requestedAlgoCount
int
The maximum number of elements to be stored in perfResults.
The maximum number of elements to be stored in perfResults .
int
ref
perfResults
cudnnConvolutionBwdDataAlgoPerf[]
A user-allocated array to store performance metrics sorted ascending by compute time.
A user - allocated array to store performance metrics sorted ascending by compute time .
returnedAlgoCount
The number of output elements stored in perfResults.
The number of output elements stored in perfResults .