Difference between revisions of "HeadCrab"
Rlanderson (talk | contribs) |
Rlanderson (talk | contribs) |
||
Line 3: | Line 3: | ||
== Team Member == | == Team Member == | ||
# [mailto:rlanderson@senecacollege.ca?subject=dps921 Rene Anderson] | # [mailto:rlanderson@senecacollege.ca?subject=dps921 Rene Anderson] | ||
+ | |||
== Intro == | == Intro == | ||
Line 31: | Line 32: | ||
#BLAS Level 2 matrix-vector | #BLAS Level 2 matrix-vector | ||
#BLAS Level 3 matrix-matrix | #BLAS Level 3 matrix-matrix | ||
+ | |||
== Source code == | == Source code == | ||
'''How to enable Intel MKL''' | '''How to enable Intel MKL''' | ||
− | Command line | + | <u>Command line</u> |
#-mkl | #-mkl | ||
#-mkl=parallel to link with standard threaded Intel MKL. | #-mkl=parallel to link with standard threaded Intel MKL. | ||
#-mkl=sequential to link with sequential version of Intel MKL. | #-mkl=sequential to link with sequential version of Intel MKL. | ||
#-mkl=cluster to link with Intel MKL cluster components (sequential) that use Intel MPI. | #-mkl=cluster to link with Intel MKL cluster components (sequential) that use Intel MPI. | ||
+ | |||
+ | <u>Microsoft Visual Studio</u> | ||
+ | |||
+ | project properties->Intel Performance Libraries->Intel Math Kernel Library | ||
+ | |||
+ | [[File:mkl.png]] | ||
+ | |||
== Useful Link == | == Useful Link == |
Revision as of 22:13, 4 April 2016
GPU621/DPS921 | Participants | Groups and Projects | Resources | Glossary
Contents
Intel Math Kernel Library (MKL)
Team Member
Intro
Intel Math Kernel Library
MKL provides highly vectorized and threaded Linear Algebra, Fast Fourier Transforms, Vector Math and Statistics functions. Intel MKL uses industry standard APIs. This means that developers would have to make minor changes to their programs when switching to MKL.
Intel MKL gives the developer control over the necessary trade-offs
- Result consistency vs performance
- Accuracy vs performance
Intel MKL is also compatible with your choice of compilers, languages, operating systems, linking and threading models. One library solution across multiple environments means only one library to learn and manage.
For this assignment I will be focusing on the Linear Algebra routines.
Linear Algebra
Intel MKL provides highly optimized BLAS routines
- BLAS Level 1 vector-vector
- BLAS Level 2 matrix-vector
- BLAS Level 3 matrix-matrix
Source code
How to enable Intel MKL
Command line
- -mkl
- -mkl=parallel to link with standard threaded Intel MKL.
- -mkl=sequential to link with sequential version of Intel MKL.
- -mkl=cluster to link with Intel MKL cluster components (sequential) that use Intel MPI.
Microsoft Visual Studio
project properties->Intel Performance Libraries->Intel Math Kernel Library