[][src]Struct intel_mkl_tool::Config

pub struct Config {
    pub link: LinkType,
    pub index_size: Interface,
    pub parallel: Threading,
}

Configure for linking, downloading and packaging Intel MKL

Fields

link: LinkTypeindex_size: Interfaceparallel: Threading

Implementations

impl Config[src]

pub fn from_str(name: &str) -> Result<Self>[src]

pub fn possibles() -> Vec<Self>[src]

pub fn name(&self) -> String[src]

identifier used in pkg-config

pub fn libs(&self) -> Vec<String>[src]

Common components

The order must be following (or equivalent libs)

mkl_intel_lp64 > mkl_intel_thread > mkl_core > iomp5

pub fn additional_libs(&self) -> Vec<String>[src]

Dynamically loaded libraries, e.g. libmkl_vml_avx2.so

  • MKL seeks additional shared library on runtime. This function lists these files for packaging.

impl Config[src]

pub fn download<P: AsRef<Path>>(&self, out_dir: P) -> Result<()>[src]

Download archive from AWS S3, and expand into ${out_dir}/*.so

Trait Implementations

impl Clone for Config[src]

impl Copy for Config[src]

impl Debug for Config[src]

impl PartialEq<Config> for Config[src]

impl StructuralPartialEq for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.