Exemple #1
0
        public static MKLVersion get_version()
        {
            var mklVer_ = new MKLVersion_();

            mkl_get_version(ref mklVer_);
            unsafe
            {
                return(new MKLVersion
                {
                    MajorVersion = mklVer_.MajorVersion,
                    MinorVersion = mklVer_.MinorVersion,
                    UpdateVersion = mklVer_.UpdateVersion,
                    ProductStatus = new string(mklVer_.ProductStatus),
                    Build = new string(mklVer_.Build),
                    Processor = new string(mklVer_.Processor),
                    Platform = new string(mklVer_.Platform),
                });
            }
        }
Exemple #2
0
 static extern int mkl_get_version(ref MKLVersion_ version);