Get Started with the Intel® oneAPI DPC++/C++ Compiler

ID 767258
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Compile and Execute Sample Code

Multiple code samples are provided for the Intel® oneAPI DPC++/C++ Compiler so that you can explore compiler features and familiarize yourself with how it works. For example:

Sample Project Description
OpenMP Offload Sample

The OpenMP* Offload sample demonstrates some of the new OpenMP Offload features supported by the Intel® oneAPI DPC++/C++ Compiler.

Base: Vector Add Sample

The Vector Add sample is the equivalent of a 'Hello, World!' sample for data parallel programs. Building and running the code sample verifies that your development environment is set up correctly and demonstrates the use of the core features of DPC++.

Matrix Multiply Sample

The Matrix Multiply sample is a simple program that multiplies together two large matrices and verifies the results. This program is implemented in two ways: Using Data Parallel C++ (DPC++) and using OpenMP (OMP).

Adaptive Noise Reduction Sample

The Adaptive Noise Reduction sample is a DPC++ reference design that demonstrates a highly optimized image sensor adaptive noise reduction (ANR) algorithm on an FPGA.

NOTE:
Explore the complete list of oneAPI code samples in the oneAPI Samples Catalog (GitHub*). These samples were designed to help you develop, offload, and optimize multiarchitecture applications targeting CPUs, GPUs, and FPGAs.

Next Steps