Ejemplo n.º 1
0
        public static MKLVersion GetMKLVersion()
        {
            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),
                });
            }
        }
Ejemplo n.º 2
0
 static extern int mkl_get_version(ref MKLVersion_ version);