1
edit
Changes
SLEEPy
,→What is DAAL
* MKL focuses on computation. DAAL focuses on the entire data flow (aquisition, transformation, processing).
* Optimized for all kinds of Intel based devices (from data center to home computers)
* Vectorization method used for optimization
DAAL supports 3 processing modes
[[File:Daal-flow.png|center|alt=DAAL Data Flow.]]
[[Image:Graph.PNG|center]]
== How DAAL Works ==
[[Image:DAALDataflow.PNG|center|600px ]]
== Installing DAAL ==
DAAL is already bundle with Intel® Parallel Studio XE 2016 Composer, Professional, or Cluster Edition, but you can also purchase a stand-alone version. To install it, you will have to execute the batch file to setup the environment.
By default, the batch to setup the environment is located at the ''<install dir>'' at ''C:\Program files (x86)\IntelSWTools\compilers_and_libraries_2016.x.xxx\windows''.
<u>'''Set Environment Variables'''</u>
Run the ''<install dir>\daal\bin\daalvars.bat'' script as appropriate to your target architecture.
''IA-32 architecture:''
daalvars.bat ia32
''Intel® 64 architecture:''
daalvars.bat intel64
[[File:DAAL_Environment.png]]
<u>'''Compiling'''</u>
Tells the compiler to link with standard threaded Intel DAAL:
/Qdaal or
/Qdaal:parallel
Tells the compiler to link with sequential version of Intel DAAL:
/Qdaal:sequential
Visual Studio:
# In Solution Explorer, go to '''Project''' > '''Properties''' > '''Configuration Properties''' > '''Intel Performance Libraries'''.
# From the '''Use Intel DAAL''' drop-down menu, select the appropriate linking method. For example: ''Multi-threaded Static Library''.
'''''NOTE:''' DAAL may require you to also enable TBB. ''
[[File:DAAL_VS_Setup.png]]
<u>'''Library Files'''</u>
{| class="wikitable"
!
! Single-threaded
(non-threaded)
Intel DAAL
! Multi-threaded
(internally threaded)
Intel DAAL
|-
| ''Static linking'' ||
daal_core.lib
daal_sequential.lib
||
daal_core.lib
daal_thread.lib
|-
| ''Dynamic linking'' ||
daal_core_dll.lib
||
daal_core_dll.lib
|}
== Code Examples ==
/*******************************************************************************
! Copyright(C) 2014-2015 Intel Corporation. All Rights Reserved.
#include "daal.h"
== Useful Link Links ==
# https://software.intel.com/en-us/daal
# Sorting: https://software.intel.com/en-us/node/610127
# Data Structure: https://software.intel.com/en-us/node/599565
# Compressor: https://software.intel.com/en-us/node/599552
# DAAL Guide Book: https://software.intel.com/en-us/daal-programming-guide