Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function attempts all cuDNN algorithms for cudnnConvolutionBackwardFilter_v3 and outputs performance metrics to a user-
/// allocated array of cudnnConvolutionBwdFilterAlgoPerf_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="xDesc">Handle to the previously initialized input tensor 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="dwDesc">Handle to a previously initialized filter 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 cudnnConvolutionBackwardFilter_v3 and outputs performance metrics to a user
allocated array of cudnnConvolutionBwdFilterAlgoPerf_t. These metrics are
written in sorted fashion where the first element has the lowest compute time.
This function attempts all cuDNN algorithms for cudnnConvolutionBackwardFilter_v3 and outputs performance metrics to a user allocated array of cudnnConvolutionBwdFilterAlgoPerf_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 cudnnFindConvolutionBackwardFilterAlgorithm( cudnnHandle     handle,
                                                                       cudnnTensorDescriptor          xDesc,
                                                                       cudnnTensorDescriptor          dyDesc,
                                                                       cudnnConvolutionDescriptor     convDesc, 
                                                                       cudnnFilterDescriptor          dwDesc,
                                                                       int                              requestedAlgoCount,
                                                                       ref int                          returnedAlgoCount,
                                                                       cudnnConvolutionBwdFilterAlgoPerf[] perfResults   
                                                                     );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnFindConvolutionBackwardFilterAlgorithm ( cudnnHandle handle , cudnnTensorDescriptor xDesc , cudnnTensorDescriptor dyDesc , cudnnConvolutionDescriptor convDesc , cudnnFilterDescriptor dwDesc , int requestedAlgoCount , ref int returnedAlgoCount , cudnnConvolutionBwdFilterAlgoPerf [ ] perfResults ) ;
This function attempts all cuDNN algorithms for cudnnConvolutionBackwardFilter_v3 and outputs performance metrics to a user
allocated array of cudnnConvolutionBwdFilterAlgoPerf_t.
This function attempts all cuDNN algorithms for cudnnConvolutionBackwardFilter_v3 and outputs performance metrics to a user allocated array of cudnnConvolutionBwdFilterAlgoPerf_t .
handle
cudnnHandle
Handle to a previously created cuDNN context.
Handle to a previously created cuDNN context .
xDesc
cudnnTensorDescriptor
Handle to the previously initialized input tensor descriptor.
Handle to the previously initialized input tensor 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 .
dwDesc
cudnnFilterDescriptor
Handle to a previously initialized filter descriptor.
Handle to a previously initialized filter 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
cudnnConvolutionBwdFilterAlgoPerf[]
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 .