Intel® oneAPI DPC++/C++ Compiler

Get Started

ID 767258
Date 3/31/2025
Public

Compile and Execute Sample Code

Multiple code samples are provided for the Intel® oneAPI DPC++/C++ Compiler, for you to explore compiler features and familiarize yourself with how the compiler works. The following table has links and descriptions for helpful samples.

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 DPC++ and using OpenMP.

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.