Intel-bigdata/mkl_wrapper_for_non_CDH

Name: mkl_wrapper_for_non_CDH

Owner: Intel-bigdata

Description: null

Created: 2017-05-23 09:51:26.0

Updated: 2018-03-29 23:50:32.0

Pushed: 2017-05-23 10:05:24.0

Homepage: null

Size: 247

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mklWrapper

An MKL wrapper which directly bind with Intel MKL.
Setting and Testing:

scala> import com.github.fommil.netlib.BLAS;

scala> System.setProperty(“com.github.fommil.netlib.BLAS”, “com.intel.mkl.MKLBLAS”)

scala> System.out.println(BLAS.getInstance().getClass().getName());

   OUTPUT: com.intel.mkl.MKLBLAS

scala> import com.github.fommil.netlib.LAPACK;

scala> System.setProperty(“com.github.fommil.netlib.LAPACK”, “com.intel.mkl.MKLLAPACK”)

scala> System.out.println(LAPACK.getInstance().getClass().getName());

   OUTPUT: com.intel.mkl.MKLLAPACK
How to use it:
Example 1 (check MKL can be successfully loaded):
Example 1 (Real test):
For some MLLIB algorithm (SVD), you also need to set driver extraJavaOptions and driver extraClassPath

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.