Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function returns the version number of the cuDNN Library. It returns the
/// CUDNN_VERSION define present in the cudnn.h header file. Starting with release R2, the
/// routine can be used to identify dynamically the current cuDNN Library used by the
/// application. The define CUDNN_VERSION can be used to have the same application linked
/// against different cuDNN versions using conditional compilation statements.
/// </summary>
This function returns the version number of the cuDNN Library. It returns the
CUDNN_VERSION define present in the cudnn.h header file. Starting with release R2, the
routine can be used to identify dynamically the current cuDNN Library used by the
application. The define CUDNN_VERSION can be used to have the same application linked
against different cuDNN versions using conditional compilation statements.
This function returns the version number of the cuDNN Library . It returns the CUDNN_VERSION define present in the cudnn . h header file . Starting with release R2 the routine can be used to identify dynamically the current cuDNN Library used by the application . The define CUDNN_VERSION can be used to have the same application linked against different cuDNN versions using conditional compilation statements .
public static Version cudnnGetVersion()
		{
			SizeT ver = cudnnGetVersionInternal();
			SizeT maj = ver / 1000;
			SizeT min = (ver % 1000) / 100;
            SizeT build = ver % 100;
			return new Version(maj, min, build);
		}
public static Version cudnnGetVersion ( ) { SizeT ver = cudnnGetVersionInternal ( ) ; SizeT maj = ver / 1000 ; SizeT min = ( ver % 1000 ) / 100 ; SizeT build = ver % 100 ; return new Version ( maj , min , build ) ; }
This function returns the version number of the cuDNN Library.
This function returns the version number of the cuDNN Library .