Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

Use Intel® Libraries with Microsoft Visual Studio*

You can use the compiler with the following Intel® Libraries, which may be included as a part of the product:

  • Intel® oneAPI Data Analytics Library (oneDAL)
    NOTE:
    This library is only available in the x64 configuration.
  • Intel® Integrated Performance Primitives (Intel® IPP)
  • Intel® oneAPI Threading Building Blocks (oneTBB)
  • Intel® oneAPI Math Kernel Library (oneMKL)

Use the property pages to specify Intel Libraries to use with the selected project configuration. The functionality supports Intel® C++ and Microsoft Visual C++* project types.

To specify Intel Libraries, select Project > Properties. In Configuration Properties, select Intel Libraries for oneAPI, then do the following:

  1. To use oneDAL change the Use oneDAL settings as follows:
    NOTE:
    This library is only available in the x64 configuration.
    • No: Disable Use of oneDAL.
    • Default Linking Method: Use parallel dynamic oneDAL libraries.
    • Multi-threaded Static Library: Use parallel static oneDAL libraries.
    • Single-threaded Static Library: Use sequential static oneDAL libraries.
    • Multi-threaded DLL: Use parallel dynamic oneDAL libraries.
    • Single-threaded DLL: Use sequential dynamic oneDAL libraries.
  2. To use Intel® Integrated Performance Primitives, change the Use Intel® IPP settings as follows:
    • No: Disable use of Intel® IPP libraries.
    • Default Linking Method: Use dynamic Intel® IPP libraries.
    • Static Library: Use static Intel® IPP libraries.
    • Dynamic Library: Use dynamic Intel® IPP libraries.
  3. To use oneTBB in your project, change the Use oneTBB settings as follows:
    • No: Disable use of oneTBB libraries.
    • Use oneTBB: Set to Yes to use oneTBB in the application.
    • Instrument for use with Analysis Tools: Set to Yes to analyze your release mode application (not required for debug mode).
  4. To use oneMKL in your project, change the Use oneMKL property settings as follows:
    • No: Disable use of oneMKL libraries.
    • Parallel: Use parallel oneMKL libraries.
    • Sequential: Use sequential oneMKL libraries.
    • Cluster: Use cluster libraries.

Additional settings for use with the Microsoft Visual C++* Platform Toolset are available on the Intel Libraries for oneAPI category, found at Tools > Options.

NOTE:
The Use <library> properties in Microsoft Visual Studio mimic the behavior of the /Qmkl, /Qdaal, /Qipp and /Qtbb compiler options. The include and library paths to the performance library, which are installed with the selected compiler, are set up with these properties.

Change the Selected Intel® Performance Libraries

If you have installed multiple versions of the Intel® Performance Libraries, you can specify which version to use with the Microsoft Visual C++* compiler. To do this:

  1. Select Tools > Options.

  2. In the left pane, select Intel Compilers and Libraries > Performance Libraries.

  3. Select the desired library version from the drop-down boxes in the right pane.

For more information, see the Intel® oneAPI Data Analytics Library (oneDAL), Intel® Integrated Performance Primitives (Intel® IPP), Intel® oneAPI Threading Building Blocks (oneTBB), and Intel® oneAPI Math Kernel Library (oneMKL) documentation.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201