Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function serves as a heuristic for obtaining the best suited algorithm for
/// cudnnConvolutionBackwardData for the given layer specifications. Based
/// on the input preference, this function will either return the fastest algorithm or the
/// fastest algorithm within a given memory limit. For an exhaustive search for the fastest
/// algorithm, please use cudnnFindConvolutionBackwardDataAlgorithm.
/// </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="preference">Enumerant to express the preference criteria in terms of memory
/// requirement and speed.</param>
/// <param name="memoryLimitInbytes">It is to specify the maximum amount of GPU memory the user is willing to
/// use as a workspace. This is currently a placeholder and is not used.</param>
/// <param name="algo">Enumerant that specifies which convolution algorithm should be used to
/// compute the results according to the specified preference</param>
This function serves as a heuristic for obtaining the best suited algorithm for
cudnnConvolutionBackwardData for the given layer specifications. Based
on the input preference, this function will either return the fastest algorithm or the
fastest algorithm within a given memory limit. For an exhaustive search for the fastest
algorithm, please use cudnnFindConvolutionBackwardDataAlgorithm.
This function serves as a heuristic for obtaining the best suited algorithm for cudnnConvolutionBackwardData for the given layer specifications . Based on the input preference this function will either return the fastest algorithm or the fastest algorithm within a given memory limit . For an exhaustive search for the fastest algorithm please use cudnnFindConvolutionBackwardDataAlgorithm .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnGetConvolutionBackwardDataAlgorithm( cudnnHandle handle,
																	   cudnnFilterDescriptor       wDesc,
																	   cudnnTensorDescriptor       dyDesc,
																	   cudnnConvolutionDescriptor  convDesc, 
																	   cudnnTensorDescriptor       dxDesc,
																	   cudnnConvolutionBwdDataPreference preference, 
																	   SizeT                              memoryLimitInbytes,
																	   ref cudnnConvolutionBwdDataAlgo algo
																	 );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetConvolutionBackwardDataAlgorithm ( cudnnHandle handle , cudnnFilterDescriptor wDesc , cudnnTensorDescriptor dyDesc , cudnnConvolutionDescriptor convDesc , cudnnTensorDescriptor dxDesc , cudnnConvolutionBwdDataPreference preference , SizeT memoryLimitInbytes , ref cudnnConvolutionBwdDataAlgo algo ) ;
This function serves as a heuristic for obtaining the best suited algorithm for
cudnnConvolutionBackwardData for the given layer specifications.
This function serves as a heuristic for obtaining the best suited algorithm for cudnnConvolutionBackwardData for the given layer specifications .
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 .
preference
cudnnConvolutionBwdDataPreference
Enumerant to express the preference criteria in terms of memory
requirement and speed.
Enumerant to express the preference criteria in terms of memory requirement and speed .
memoryLimitInbytes
SizeT
It is to specify the maximum amount of GPU memory the user is willing to
use as a workspace. This is currently a placeholder and is not used.
It is to specify the maximum amount of GPU memory the user is willing to use as a workspace . This is currently a placeholder and is not used .
cudnnConvolutionBwdDataAlgo
ref
<not_specific>
algo
<not_specific>
Enumerant that specifies which convolution algorithm should be used to
compute the results according to the specified preference
Enumerant that specifies which convolution algorithm should be used to compute the results according to the specified preference