Intel® oneAPI Base Toolkit Release Notes

Version: 2021.4   Last Updated: 09/17/2021

By Sravani Konda

Intel® oneAPI Base Toolkit supports direct programming and API programming, and delivers a unified language and libraries that offer full native code support across a range of hardware including Intel® and compatible processors, Intel® Processor Graphics Gen9, Gen11, Intel® Iris® Xe MAX graphics, and Intel® Arria® 10 or Intel® Stratix® 10 SX FPGAs. It offers direct programming model as well as API-based programming model, and it also contains analysis & debug tools for development and performance tuning.

Major Features Supported

Please visit Intel® oneAPI Toolkit and Component Versioning Schema for semantic versioning schema detail. 

New in 2021.4 Product Release

Key Features at toolkit level

  • The Intel® oneAPI DPC++/C++ Compiler and Intel® oneAPI DPC++ Library improved SYCL* 2020 feature set and conformance to improve programming productivity on various hardware accelerators. 
  • oneMKL adds GPU support through DPC++ and OpenMP offload APIs to  Random Number Generators (RNG) Multinomial, PoissonV, Hypergeometric, Negative  Binomial and  Binomial distribution.
  • Flame Graph for Hotspot Analysis in Intel® VTune™ Profiler allows visualization of hot code paths and time spent in each function and its callees. Intel® Advisor's GPU Roofline offers actionable recommendations to maximize GPU utilization for user code analysis.
  • FPGA Simulation Flow allows oneAPI designs to run on industry-standard RTL simulators.
  • Added new Diagnostics Utility for Intel® oneAPI Toolkits to diagnose the system status for using Intel® products. Learn more.

Intel® oneAPI DPC++/C++ Compiler 2021.4.0

  • Implemented performance improvements for Icelake
  • Implemented several new SYCL 2020 features including support for specialization constants, sub_group algorithms, USM features, and interoperability API among others.
  • Added numerous ExplicitSIMD improvements and features.
  • Added new OpenMP 5.0/5.1 support including #pragma omp prefetch support
  • Added support for FPGA simulation flow.

Intel® oneAPI DPC++ Library (oneDPL) 2021.5.0

  • Added new random number distributions: exponential_distributionbernoulli_distributiongeometric_distributionlognormal_distributionweibull_distributioncachy_distributionextreme_value_distribution.
  • Added the serial-based versions of the following algorithms: all_of, any_of,none_of, count, count_if, for_each, find, find_if, find_if_not.
  • Improved performance of search and find_end algorithms on GPU devices.

Intel® DPC++ Compatibility Tool 2021.4.0

  • Enabled partial migration of CUB* API, and improved Thrust* API migration
  • Introduced three levels of helper header files customization (API, File, All) to make the header files more maintainable.
  • Enabled support for CUDA 11.4 header files.

Intel® oneAPI Math Kernel Library (oneMKL) 2021.4.0

  • Enabled oneMKL Random Number Generators (RNG) Multinomial, PoissonV, Hypergeometric, Negative  Binomial and  Binomial distribution on GPU (with DPC++ and OpenMP* offload APIs) 
  • Added new DPC++ API for sparse-sparse matrix multiply (sparse::matmat) and column-major layout in DPC++ sparse:gemm and C/C++ openMP offload for Sparse BLAS Inspector Executed (IE) trsv
  • GPU-based implementations for single and double precision complex exp, log, sqrt are available now 

Intel® oneAPI Threading Building Blocks (oneTBB) 2021.4.0

  • Added the collaborative_call_once algorithm to help boost the performance of application initialization routines by allowing them to be executed in parallel. 
  • Enabled full support of Address Sanitizer and Thread Sanitizer which allows developers to use Sanitizers in their applications. 

Intel® Distribution for GDB* 2021.4.0

  • Usability improvements and fixes in the Visual Studio integration
  • Performance improvements when debugging large applications on GPU
  • Improve variable length strings debugging for Fortran

Intel® Integrated Performance Primitives (Intel IPP) 2021.4.0

  • Enabled 16-bit float Discrete Fourier transform (DFT) and Fast Fourier transform (FFT) functions within Intel® IPP optimized for next generation Intel® Xeon® Scalable Processor, code named 'Sapphire Rapids' focused on various lengths supported in 5G environment.
  • Enabled Intel® IPP Cryptography Multi-buffer(MB) functions for 3rd Generation Intel® Xeon® Processor Scalable and 10th Gen Intel® Core™ Processors for the following:
    • SM4 block cipher standard modes (OFB, CFB, ECB, CBC, CTR)
    • ECDSA Ed25519 Verify API
    • ECDH SM2 and ECDSA SM2 Sign universal and SSL APIs
    • 1Kb, 2Kb, 3Kb and 4Kb modular exponentiations
  • Extended Intel® IPP Image and Signal Processing functions for 3rd Generation Intel® Xeon® Processor Scalable and 10th Gen Intel® Core™ Processors for the following:
    • Multi-rate FIR filtering
    • Resize Supersampling (one-channel, floating-point)
    • Resize Antialiasing (one-channel, double-precision floating-point)

Intel® oneAPI Collective Communications Library (oneCCL) 2021.4.0

  • Optimized allreduce, broadcast and reduce for 2 ranks on ATS 2T.
  • Added support for memory binding of worker threads.
  • Added support for NIC filtering by name for OFI-based multi-NIC.
  • Added IPv6 support for KVS.
  • Bug fixes.

Intel® oneAPI Data Analytics Library (oneDAL) 2021.4.0

  • Intel® Extension for Scikit-learn*: Enabled Global patching of full Scikit-learn application
  • Intel® Extension for Scikit-learn*: Integration with dpctl for heterogeneous computing (support of dpctl.tensor.usm_ndarray for input and output)
  • Improved accuracy and performance of Random Forest, Nu-SVMs, SVR and KMeans

Intel® oneAPI Deep Neural Networks Library (oneDNN) 2021.4.0

  • Introduced initial performance optimizations for DG2 and ATS-M
  • Improved primitive cache performance on GPUs
  • Reduced library size by 7-29% depending on platform and configuration. DLLs and shared objects size does not exceed 150 Mb.

Intel® oneAPI Video Processing Library (oneVPL) 2021.6.0

  • oneVPL 2021.6.0 has been updated to include functional and security updates. Users should update to the latest version
  • Updated dispatcher and CPU runtime to API 2.5
  • Internal memory support added to dpcpp-blur sample
  • Added option to build dispatcher as a static library
  • Added ability to build dispatcher under MinGW
  • HEVC 4:2:2 decode support added to CPU runtime

Intel® Distribution for Python* 2021.4.0

  • Numba-dppy works as an extension to off-the-shelf Numba 0.54.0.
  • Pandas.MultiIndex support added in SDC.
  • Numba-dppy’s @dppy.kernel now support __sycl_usm_array_interface through dpctl’s usm_ndarray.

Intel® Advisor 2021.4.0

  • Get actionable Recommendations to maximize GPU utilization for user code analysis with GPU Roofline.
  • Estimate performance benefits of a future GPU for existing GPU code with Offload Advisor GPU-to-GPU performance modeling with both command line and GUI.
  • Execute profiling and performance projection with a single command line via Offload Modeling Collection Preset, and analyze results of GPU Roofline profiling and offload modeling in a browser with interactive HTML report.

Intel® VTune™ Profiler 2021.7.1

  • Gain insights into system configuration, performance and behavior with Platform Profiler - now fully integrated into Intel® VTune™ Profiler.  
  • Analyze workloads at scale to identify outliers and pinpoint where they occurred using Intel® VTune™ Profiler's Application Performance Snapshot. 
  • New Platform Diagram in the Memory Access Analysis: Visualize socket-to-DRAM and socket-to-socket memory bandwidth utilization on a system topology to understand NUMA related performance problems. 
  • Occupancy Metrics in the GPU Compute/Media Hotspots Analysis: Identify and improve occupancy issues preventing your GPU offload code from efficient usage of available EU HW threads. 
  • Expanded command line for perf tool: Profile Linux targets by easily generating command line parameters for the native perf tool for all analysis types, including custom analyses. Collect perf trace on a target with Linux Perf tool and import to Intel® VTune™ Profiler UI to analyze and visualize results for fast insights. 
  • Flame Graph added for Hotspot Analysis visualizes hot code paths and time spent in each function and its callees. 
  •  The GPU Offload Analysis now presents a richer set of information about execution on the GPU, including data transfer data, to help identify inefficient code paths in your application.

Diagnostics Utility for Intel® oneAPI Toolkits

The Diagnostics Utility for Intel® oneAPI Toolkits is designed to diagnose the system status for using Intel® products. This is the first Preview release supported on Linux Ubuntu 20.04 LTS, SLES 15 SP2 and RHEL 8.2. With this utility, you can identify errors such as:

  • Permission errors for the current user
  • Missing driver or an incompatible version of a driver
  • Incompatible version or configuration of the Operating System

More details on usage can be found in the Diagnostics Utility for Intel® oneAPI Toolkits User Guide.

Intel® FPGA Add-On for oneAPI Base Toolkit 2021.4.0 (Optional)

  • Added support for the Intel® custom platforms with Intel® Quartus® Prime software version 21.2.
  • Added support for Questa*-Intel® FPGA Edition and Questa*-Intel® FPGA Starter Edition simulators.
  • Added support for FPGA simulation flow.

New in 2021.3 Product Release

New in 2021.2 Product Release

 

Intel® oneAPI DPC++/C++ Compiler

  • More SYCL 2020 features implemented, including "device_has", aspects, math array, global work offset in kernel enqueue
  • Experimental Explicit SIMD (ESIMD) extension supports Level Zero runtime and available on Windows host
  • Fast math is enabled by default (i.e., -fp-model=fast)
  • FPGA support:
    • Added support for targeting multiple homogeneous FPGA devices with the same or different device codes.
  • Intel C++ Compiler:
    • Vectorization improvements

Intel® oneAPI DPC++ Library (oneDPL)

  • New experimental asynchronous interfaces to enable concurrent execution of STL-like algorithm and interoperability with SYCL event-based control flow, and support the "set" algorithms matching Thrust 1.11.0 and Boost/compute asynchronous algorithm.
  • New support on the followings:
    • parallel, vector and DPC++ execution policies for those algorithms: shift_left, shift_right.
    • Range-based version of those algorithms: sort, stable_sort, merge.
    • a new macro ONEDPL_USE_PREDEFINED_POLICIES that can disable predefined policies objects and enable functions without arguments if needed.
  • Other performance improvements.

Intel® DPC++ Compatibility Tool 

  • Enabled partial migration of cuFFT API calls to oneMKL API calls, added initial migration of CUDA Driver API calls, improved Thrust API calls migration coverage
  • The tool can now merge the migrated source code from different branches of a conditional compilation into a single DPC++ source
  • Better coverage for specific code cases, more hints for developers, bug fixes.

Intel® oneAPI Math Kernel Library (oneMKL)

  • Introduced Poisson and Exponential distributions with DPC++ device APIs. 
  • Introduced Strided API support for DPC++ and C/Fortran OpenMP Offload.
  • Enabled OpenMP offload support for an extended set of functions across different components.

Intel® oneAPI Threading Building Blocks (oneTBB)

  • Added three-way comparison operators for concurrent ordered containers and concurrent_vector
  • Preview: Extended task_arena constraints to support Intel Hybrid Technology and Intel Hyper-Threading Technology.

Intel® Distribution for GDB*

  • New feature: Multi-GPU support
  • Bug fixes

Intel® Integrated Performance Primitives (Intel IPP)

  • Added support and optimized LZ4 1.9.3 version in Intel® IPP Data compression
  • Image processing:
    • Added floating-point shift support in ippiResizeSuper function.
    • New precise bilateral filter for image smoothing based on iterative least square method.

Intel® oneAPI Collective Communications Library (oneCCL)

  • Added float16 datatype support
  • Added ip-port hint for customization of KVS creation
  • Optimizations on communicator creation phase and multi-GPU collectives for single-node case

Intel® oneAPI Data Analytics Library (oneDAL)

  • Performance optimizations for Random Forest, PCA, SVM algorithms for CPU
  • Introduced bit-to-bit results reproducibility for CPU algorithms
  • Implemented Multi-Node Multi-GPU PCA, Low Order Moments, KMeans algorithms
  • Bug-fixes, performance improvements

Intel® oneAPI Deep Neural Networks Library (oneDNN)

  • Introduced initial optimizations for bfloat16 functionality for future Intel Xeon Scalable processor with Intel AMX support (code name Sapphire Rapids).
  • Introduced initial performance optimizations for future Intel Core processor with Intel AVX2 and Intel DL Boost instructions support (code name Alder Lake).
  • Introduced binary post-op for (de)-convolution, pooling, eltwise, binary, inner product, matmul and reduction (GPU only) along with performance optimizations for CPUs and GPUs. Extended the number of supported post-ops for primitives to 20.
  • Extended eltwise with support for logsigmoid, mish, hardswish, and clip_v2 algorithms, and binary primitive with support for comparison operators.

Intel® oneAPI Video Processing Library (oneVPL)

  • Dispatcher and CPU implementation updated to align with oneVPL Specification 2.2​
  • Intel(R) Media SDK to oneVPL migration guide
  • Windows* 32-bit support

Intel® Distribution for Python*

  • GPU support in XGBoost
  • numpy package update to v1.20.1
  • Support Level Zero driver in numba-dppy
  • Introduced bit-to-bit results reproducibility for Scikit-learn patches on CPU
  • Bug-fixes, performance improvements, and improvements in documentation, user guides and examples

Intel® Advisor

  • Advisor Vectorization and Roofline analysis support for Intel® microarchitecture processors code named Tiger Lake, Ice Lake, and Cooper Lake
  • Modernized  Source View analysis for Offload Modeling and GPU Roofline
  • Detailed GPU Kernel Analytics view
  • GPU Performance Projection now considers instruction latencies, that increases accuracy

Intel® VTune™ Profiler

  • User Interface: a new main vertical toolbar to enhance user experience
  • Hardware Support: Support for Intel Atom® Processor P Series code named Snow Ridge, including Hotspots, Microarchitecture Exploration, Memory Access, and Input and Output analyses. 
  • GPU Accelerators: Source-level analysis for DPC++ and OpenMP applications running on GPU over Level Zero 
  • Input and Output analysis:
    • a new Platform Diagram;  extended Intel® Data Direct I/O (Intel DDIO) utilization efficiency metrics.
    • Supporting none-root access Linux perf-based data collection on 1st and 2nd Generation Intel Xeon® Scalable Processors on Linux kernel versions 5.10 and newer. 

Intel® FPGA Add-On for oneAPI Base Toolkit (Optional)

  • Add Quartus 20.4 support

New in 2021.1 Product Release

System Requirements

Please see Intel oneAPI Base Toolkit System Requirements

Installation Instructions

Please visit Installation Guide for Intel oneAPI Toolkits

How to Start Using the Tools

Please reference:

Known Issues, Limitations and Workarounds

  1. Known Issue - The compiler and compiler32 Environment Module scripts (aka modulefiles) require version 4.1 or greater of Environment Modules: the compiler and compiler32 modulefiles fail when used with versions 4.0 and 3.x of the Tcl Modulefiles application. These older versions of the Environment Modules application are usually found on older Linux distributions, such as CentOS 6.x and CentOS 7.x. Type module --version to display the version of Environment Modules that is installed on your system.

    Workarounds: If you only need to configure your environment for use with the Intel C++ Compiler classic (aka ICC) you can use the new icc and icc32 modulefiles. If you need to configure your environment for use with the Intel DPC++/C++ Compiler you can source the compiler’s env/vars.sh script. For example, if your oneAPI installation is in the default sudo/root install location: source /opt/intel/oneapi/compiler/latest/env/vars.sh. You can confirm that the environment was configured by checking the value of the $CMPLR_ROOT environment variable. If you have more then one version of the compiler installed and wish to configure your environment to use an earlier version, change the reference to latest to match the name of the folder that corresponds to the compiler version you wish to use. For example: source /opt/intel/oneapi/compiler/2021.3.0/env/vars.sh.

  2. Known Issue - For users of 2021.2 version of the Intel® AI Analytics Toolkit who wish to install the Intel® oneapi Base Toolkit 2021.3 be aware of a known issue: If you have AI Toolkit 2021.2 installed and do not have the Base Toolkit 2021.2 installed, when you try to install Base Toolkit 2021.3 it will fail - the installation of Base Toolkit 2021.3 will fail, it will not install.  
    Workaround: To work around this issue: You have AI Toolkit 2021.2 installed. First install the the Intel® oneapi Base Toolkit 2021.2. Once Base Toolkit 2021.2 is installed alongside your AI Toolkit 2021.2, you can now install the Intel® oneapi Base Toolkit 2021.3. This issue will be fixed in a future Update.
  3. Please read the whitepaper on Challenges, tips, and known issues when debugging heterogenous programs using DPC++ or OpenMP offload 
  4. Limitations
    1. Running any GPU code on a Virtual Machine is not supported at this time.
    2. If you have chosen to download the Get Started Guide to use offline, viewing it in Chrome may cause the text to disappear when the browser window is resized. To fix this problem, resize your browser window again, or use a different browser.
    3. Eclipse* 4.12: the code sample project created by IDE plugin from Makefile will not build. It is a known issue with Eclipse 4.12. Please use Eclipse 4.9, 4.10 or 4.11.
  5. Known issue- During the silent seamless installation of the Intel® FPGA Add-on package, no matter which add-on package you select for installation, all Intel® FPGA Add-on packages might get installed on your system.
    As a workaround for this issue, specify the intel.oneapi.lin.fpga.group component in the component list before the desired add-on component. For example:

    components=default:intel.oneapi.lin.fpga.group:intel.oneapi.lin.fpga.custom_platforms.quartus211

     

  6. Known issue - Linux repositories serving package managers

  7. Known issue for FPGA and GPU regarding libtinfo.so.5 library - clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    • When compiling for FPGA or GPU, you might see this error. To work around this issue, you must install the required compatibility library by executing one of the following OS-specific commands:

      • On Ubuntu 20.04: sudo apt install -y libncurses5 libncurses5-dev libncursesw5-dev

      • On RHEL/CentOS 8: sudo yum install ncurses-compat-libs

      • On SUSE 15: sudo zypper install libcurses5 ncurses5-devel

  8. Known issue -  regarding namespace "oneapi" conflicting with older compilers - error: reference to 'tbb' is ambiguous

    • This issue is only found with the following compilers:

      1. GNU* gcc 7.x or older
      2. LLVM* Clang 3.7 or older
      3. Intel® C++ Compiler 19.0 or older
      4. Visual Studio 2017 version 15.6 or older 
    • If your code uses the namespace in the following manner and one of the compilers above, you may get the compilation errors like "error: reference to 'tbb' is ambiguous".

      The "using namespace oneapi;" directive in a oneDPL|oneDNN|oneTBB program code may result in compilation errors with the compilers listed above.

      test_tbb.cpp:

      namespace tbb { int bar(); }
      namespace oneapi { namespace tbb = ::tbb; }
      
      using namespace oneapi;
      int zoo0() { return tbb::bar(); }

      Compiling: .

      test_tbb.cpp: In function 'int zoo0()':
      test_tbb.cpp:5:21: error: reference to 'tbb' is ambiguous
      int zoo0() { return tbb::bar(); }

      Workarounds: 

      Instead of the directive "using namespace oneapi;", please use full qualified names or namespace aliases.

      test_tbb_workaround.cpp: 

      namespace tbb { int bar(); }
      namespace oneapi { namespace tbb = ::tbb; }
      
      // using namespace oneapi;
      int zoo0() { return tbb::bar(); }

      Additional Notes: 

      The "using namespace oneapi;" directive is not recommended right now, as it may result in compilation errors when oneMKL| oneDAL| oneCCL is used with other oneAPI libraries. There're two workarounds:

      • Use the full qualified namespace like above
      • Use namespace alias for oneMKL| oneDAL| oneCCL, e.g.
        • namespace one[mkl|dal|ccl] = ::oneapi::[mkl|dal|ccl];
          onemkl::blas::dgemm( … ); | onedal::train(); | onccl::allgathersv();

           

    •  

  9. Known issue - the installation error on Windows "LoadLibrary failed with error 126: the specified module could not be found" in certain environment only

    • Impacted environment: Windows with AMD graphics card

    • Details: 

      When a Windows system has AMD* graphics cards or AMD Radeon Vega* graphics units, the installer of oneAPI Toolkits may report the error "LoadLibrary failed with error 126: the specified module could not be found". This has been reported and is being investigated. Please use the workaround for this release.
    • Workaround:

      Temporarily  disable the Intel® HD Graphics during the installation of oneAPI Toolkits with the steps below:

      Open the Device Manager > Display Adapters; Right click on the listed display (common is the intel integrated graphics accelerator) and select DISABLE.

  10. Known issue - "Debug Error!" from Microsoft Visual C++ Runtime Library
    • Impacted environment: Windows, "Debug" build only, mixed use of DPC++ & oneAPI libraries (except oneTBB)
    • Details: This error may occur only when the DPC++ program is built in "Debug" configuration and it uses one of the oneAPI libraries that do not have a dynamic debug libraries, e.g. oneVPL; The oneTBB is not impacted by this issue.
    • The error is similar to the following:

      Unable to start program

    • Workaround:
      • Use "Release" configuration to build the program for now.
  11. More limitations on Windows 
    • For users who have Visual Studio* 2017 or 2019 installed, the installation of IDE integrations of oneAPI Base Toolkit is very slow. It may take 30+minutes just for the IDE integrations installation sometimes. Please be extra patient and it will be eventualy installed. 
    • If you encounter a runtime error that "... ... sycl.dll was not found. ... ..." or similar like below

      Unable to start program

      when running your program within Visual Studio, please follow the instructions below to update the project property "Debugging > Environment" in order to run the program:
      • Open the project property "Debugging > Environment" property and click right drop-down & select Edit

        Unable to start program

      • Copy and paste the default PATH environment variable value from lower section to the above section.
        This step is very important because of how Visual Studio 2017 or newer handles the additional directory for the "PATH" environment variable.

        Unable to start program

      • Add any additional directories needed by the program for those dll files to the path like below

        Unable to start program

    • Error when running a code sample program within Visual Studio: unable to start program 'xxx.exe"

      Unable to start program


      Please follow the instructions below for the workaround.
      • Open Tools Options dialog, select Debugging tab, and select the check-box of "Automatically close the console when debugging stops". See the dialog image below for details.

        Unable to start program

Deprecation Notices

Support for Intel® Xeon Phi™ Processor x200 “Knights Landing (KNL)” and Intel® Xeon Phi™ Processors “Knights Mill (KNM)” is deprecated and will be removed in a future release.  

Intel® Xeon Phi™ customers should continue to use compilers, libraries, and tools from the Intel® Parallel Studio XE 2020 and older PSXE releases, or compilers from the Intel® oneAPI Base Toolkit and Intel® oneAPI HPC Toolkit versions 2021.2 or 2021.1.  

OS Deprecation Notice

OS version Notice of Change Final Support Release

SUSE Linux Enterprise Server* 12

SUSE Linux Enterprise Server* 15 SP1

Starting with the oneAPI 2021.4 release, SLES 12 and SLES 15 SP1 will no longer be supported.


Support of SLES 15 SP3 begins 2021.4 and we will continue to support SLES SP2

2021.3 is the final release to support SLES 15 SP1 and SLES 12
Fedora 32
Fedora 33

Starting with the oneAPI 2022.1 release, Fedora 32 and Fedora 33 will no longer be supported. 

Support of Fedora 34 begins 2022.1

2021.4 is the final release to support Fedora 32 and Fedora 33
CentOS 8.x

Starting with the oneAPI 2022.1 software release, CentOS 8.x will no longer be supported.

Please note that CentOS 7.x will continue to be supported.
See EOL notice from Red Hat - [https://lists.centos.org/pipermail/centos-announce/2020-December/048208.html]

2021.4 will be the final release to support CentOS 8.x

Release Notes for All Tools included in Intel® oneAPI Base Toolkit

Notices and Disclaimers

Intel technologies may require enabled hardware, software or service activation.

No product or component can be absolutely secure.

Your costs and results may vary.

© Intel Corporation. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Other names and brands may be claimed as the property of others.

No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document.

The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.

Product and Performance Information

1

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