Changes

Jump to: navigation, search

SLEEPy

124 bytes removed, 17:54, 11 April 2016
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.
!
! The source code, information and material ("Material") contained herein is
! owned by Intel Corporation or its suppliers or licensors, and title to such
! Material remains with Intel Corporation or its suppliers or licensors. The
! Material contains proprietary information of Intel or its suppliers and
! licensors. The Material is protected by worldwide copyright laws and treaty
! provisions. No part of the Material may be used, copied, reproduced,
! modified, published, uploaded, posted, transmitted, distributed or disclosed
! in any way without Intel's prior express written permission. No license
! under any patent, copyright or other intellectual property rights in the
! Material is granted to or conferred upon you, either expressly, by
! implication, inducement, estoppel or otherwise. Any license under such
! intellectual property rights must be express and approved by Intel in
! writing.
!
! *Third Party trademarks are the property of their respective owners.
!
! Unless otherwise agreed by Intel in writing, you may not remove or alter
! this notice or any other notice embedded in Materials by Intel or Intel's
! suppliers or licensors in any way.
!
!*******************************************************************************
! Content:
! C++ example of a compressor
!
!******************************************************************************/
 
/**
* <a name="DAAL-EXAMPLE-CPP-COMPRESSOR"></a>
* \example compressor.cpp
*/
#include "daal.h"

Navigation menu