예제 #1
0
        public static void mkl_get_version(ref MKLVersion mklVersion)
        {
            var mklVer_ = new MKLVersion_();

            MklNativeMethods.mkl_get_version(ref mklVer_);

            mklVersion.MajorVersion  = mklVer_.MajorVersion;
            mklVersion.MinorVersion  = mklVer_.MinorVersion;
            mklVersion.UpdateVersion = mklVer_.UpdateVersion;
            unsafe
            {
                mklVersion.ProductStatus = new string(mklVer_.ProductStatus);
                mklVersion.Build         = new string(mklVer_.Build);
                mklVersion.Processor     = new string(mklVer_.Processor);
                mklVersion.Platform      = new string(mklVer_.Platform);
            }
        }
예제 #2
0
 internal static extern void mkl_get_version(ref MKLVersion_ mklVersion);