Esempio n. 1
0
        /// <summary>
        /// Gets the MKL version.
        /// </summary>
        public static Version GetVersion()
        {
            MKLVersion version = default(MKLVersion);

            // NOTE: leaks memory (char* pointers in MKLVersion struct).

            NativeMethods.mkl_get_version(ref version);

            return(new Version(version.MajorVersion, version.MinorVersion, version.BuildNumber));
        }
Esempio n. 2
0
 internal static extern void mkl_get_version(ref MKLVersion version);