Code Samples
Explore the latest, ready-to-use code samples in GitHub* to develop, offload, and optimize multiarchitecture applications targeting CPUs, GPUs, and FPGAs.
AI & Analytics
Find samples to architect, train, and deploy models, as well as end-to-end workloads, common optimizations using popular frameworks, ways to get started with Python* libraries, and more.
LIDAR Point Detection Using PointPillars
Demonstrates how to perform 3D object detection and classification using input data from a LIDAR sensor.
Enable Automixed Precision for Transfer Learning
Demonstrates the end-to-end pipeline tasks typically performed in a deep learning use case and describes the benefits.
Model Zoo for Intel® Architecture Inference with FP32 and int8
Demonstrates how combining TensorFlow* ResNet-50 inference and Intel® oneAPI Math Kernel Library (oneMKL) can increase inference performance.
Training Optimization with Intel® AMX with Bfloat16
Demonstrates the benefits of training a ResNet-50 model using the CIFAR dataset and Intel® Advanced Matrix Extensions (Intel® AMX) with bfloat16 intrinsics.
Languages & Performance Optimization
Access coding techniques and tools for performant multiarchitecture development including SYCL*, C++, and Fortran.
ConcurrentKernels Using SYCL* Queues
Demonstrates migrating CUDA* code to SYCL for optimized concurrent running of several kernels on a GPU device.
2D Finite-Difference Wave Propagation
Demonstrates using SYCL queues, buffers, and accessors to solve complex 2D acoustic isotropic wave differential equations.
Find the Shortest Paths Between Pairs of Vertices
Demonstrates how to use the Floyd-Warshall algorithm to offload compute-intensive work to the GPU efficiently.
ISO3DFD OpenMP* Offload
Demonstrates a 3D stencil used to simulate a wave propagating in a 3D isotropic medium, including challenges and techniques.
Performance Libraries
Improve application performance and development for heterogeneous computing with these oneAPI-optimized libraries.
oneTBB Tasks to Run Computational Kernels
Demonstrates the difference between two Intel® oneAPI Threading Building Blocks (oneTBB) tasks on kernels using SYCL and on oneTBB code implemented on CPUs and GPUs.
Black-Scholes for Randomly Generated Portfolios
Demonstrates using vector math and random number generators in Intel® oneAPI Math Kernel Library (oneMKL) to calculate the prices of options.
Analyzers & Debuggers
Design code early in the development cycle for optimal performance and accelerator offload, including threading, vectorization, memory, and power and thermal behavior.
Profile an Application Using Intel® VTune™ Profiler
Demonstrates multiple implementations of matrix multiplication using SYCL for CPUs and GPUs, and then analyzing using Intel VTune Profiler.
Profile an Application Using Intel® Advisor
Demonstrates multiple implementations of matrix multiplication using SYCL for CPUs and GPUs and running an analysis using Intel Advisor.
Guided Matrix-Multiply Exception
Demonstrates a guided approach to debugging SYCL exceptions from the incorrect use of the SYCL API using Intel® Distribution for GDB*.
FPGAs
Accelerate innovation with Intel® FPGAs coupled with oneAPI tools, all optimized for a wide range of applications.
GNU Gzip or Snappy Decompression Engine
This reference design demonstrates implementations of Gzip or Snappy decompression engines on an Intel FPGA.
Compile SYCL for FPGA with Reduced Compile Times
An introductory sample that demonstrates best practices for coding and compiling SYCL compliant code for an Intel FPGA.
Avoid Aliasing of Kernel Arguments
Demonstrates an efficient approach to avoid pointer aliasing by using the kernel_args_restrict attribute.
Unroll Loops to Improve Throughput
Demonstrates how to use SYCL code to increase parallelism by duplicating the compute logic within a loop.
Rendering & Ray Tracing
Create complex, photorealistic renderings that scale end-to-end on laptops, workstations, HPC, and cloud with fidelity-first, open source libraries.
Introduction to Ray Tracing with Intel® Embree
Demonstrates how to build a basic geometry, ray tracing application with this performant ray tracing library.

Stay In the Know on All Things CODE
Sign up to receive the latest tech articles, tutorials, dev tools, training opportunities, product updates, and more, hand-curated to help you optimize your code, no matter where you are in your developer journey. Take a chance and subscribe. You can change your mind at any time.