1
edit
Changes
SLEEPy
,→Intel Data Analytics Acceleration Library (DAAL)
[[Image:DAALDataflow.PNG|center|600px ]]
== Installing DAAL Work ==
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, <install dir> is 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
<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''.
{| class="wikitable"
|+ '''Library Files'''
! !! 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"