The oneAPI samples repository provides code samples for Intel oneAPI toolkits.
We recommend checking out a specific stable release version of the repository. The version of the repository you fetch should match the version of the oneAPI compiler you are using. View available stable releases.
The latest versions (2022.2.0) of code samples on the master branch are not guaranteed to be stable.
The oneAPI sample repository is organized as follows:
- If you are using Visual Studio 2019, Visual Studio 2019 version 16.4.0 or newer is required.
- Windows support for the FPGA code samples is limited to the FPGA emulator and optimization reports. Compile targets for FPGA hardware are provided on Linux only. See any FPGA code sample for more details.
- If you encounter a compilation error when building a sample program, such as the example error below, the directory path of the sample may be too long. The workaround is to move the sample to a temp directory.
- Example error: *Error MSB6003 The specified task executable dpcpp.exe could not be run .......
- Samples in Alphabetical order w/ device target
- Samples by Change History
See CONTRIBUTING wiki for more information.
Version Introduced | Sample Name | Description |
---|---|---|
2022.2.0 | Intel Implicit SPMD Program Compiler (Intel ISPC) Getting Started: 05_ispc_gsg | This introductory rendering toolkit sample demonstrates how to compile basic programs with Intel ISPC and the system C++ compiler. Use this sample to further explore developing accelerated applications with Intel Embree and Intel Open VKL. |
2022.2.0 | Jacobi Iterative | Calculates the number of iterations needed to solve system of linear equations using Jacobi Iterative method |
Total Samples: 167
Version Introduced | Version Deleted | Sample Name | Description | Path |
---|---|---|---|---|
2021.1.Gold | 2021.3.0 | Use Library | Removed for 2021.4 - Remove the tutorial use_library due to HLS/OCL library support being removed in oneAPI 2021.4. Also note that RTL libraries has an issue (with a known workaround) so that part of the flow is also removed, but we will likely have a KDB to showcase the workaround. The fix for this is expected in 2022.1. Please use 2021.3 if you either need HLS/OCL library support in SYCL, or if you need continued access to RTL libraries. | 2021.3.0 Path: DirectProgramming/DPC++FPGA/Tutorials/Tools/use_library |
Code samples are licensed under the MIT license. See License.txt for details.
Third-party program Licenses can be found here: third-party-programs.txt
Report Generated on: March 08, 2022