1

2

# Hello World!

Get Started by running a simple sample on DevCloud.

3

# Run HPC Toolkit Samples on DevCloud

Explore the samples already installed in Step 2.

# Basic Samples

#### Matrix Multiplication with CPU, GPU using Intel® oneAPI Math Kernel Library (oneMKL)

Sector

Shows how to perform a matrix multiplication using oneMKL.

View code on GitHub*

#### Matrix Multiplication with CPUs and GPUs

Sector

Shows how to perform a matrix multiplication using SYCL* or OpenMP*.

View code on GitHub*

#### Mandelbrot

Sector

The Mandelbrot code sample contains all complex numbers c such that z(n + 1) = z(n)^2 + c remains bounded and does not diverge. n starts from 0 and the plot generated is unique for every n.

View code on GitHub*

#### ISO2DFD Finite Difference Stencil Kernel - SYCL*

Sector

ISO2DFD is a finite difference stencil kernel for solving the 2D acoustic isotropic wave equation. Kernel in this sample is implemented as 2nd order in space, 2nd order in time scheme without boundary conditions. This sample code is implemented using SYCL* for CPU and GPU.

View code on GitHub*

#### 1D Heat Transfer - SYCL*

Sector

1d_HeatTransfer a finite difference stencil kernel for solving the 1D heat equation. Kernel in this sample is implemented as a linear partial differential equation with boundary conditions. This sample code is implemented using SYCL for CPU and GPU.

View code on GitHub*

#### Mandelbrot OpenMP

Sector

Calculates the Mandelbrot set and outputs a bmp image representation using OpenMP*; for macOS*.

View code on GitHub*

#### Intrinsics

Sector

Demonstrates the intrinsic functions available to the Intel® compiler and Intel® hardware.

View code on GitHub*

#### OpenMP Primes

Sector

Fortran OpenMP sample, finds prime numbers in first 40,000 integers.

View code on GitHub*

#### Optimize Integral

Sector

Fortran example demonstrating compiler optimization options.

View code on GitHub*

#### Matrix Vector Multiply

Sector

Fortran example showing use of vectorization options, and vector report.

View code on GitHub*

Try some advanced samples to test the capabilities of the DevCloud.

#### N-Body Simulation

Sector

Demonstrates how SYCL* is applied in this simulation of many particles that gravitationally or electrostatically interact with each other.

View code on GitHub*

#### ISO3DFD Finite Difference Stencil Kernel - SYCL*

Sector

Demonstrates a finite difference stencil kernel for solving a 3D acoustic isotropic wave equation which can be used as a proxy for propagating a seismic wave. This sample is implemented using SYCL*.

View code on GitHub*

#### ISO3DFD Finite Difference Stencil Kernel - OpenMP*

Sector

Demonstrates a finite difference stencil kernel for solving a 3D acoustic isotropic wave equation which can be used as a proxy for propagating a seismic wave. This sample is implemented using OpenMP*.

View code on GitHub*

#### Particle Diffusion

Sector

Implements a Monte Carlo simulation of the diffusion of water molecules in tissue. This kind of computational experiment can be used to simulate acquisition of a diffusion signal for dMRI.

View code on GitHub*

#### ISO2DFD Finite Difference Stencil Kernel - SYCL*

Sector

ISO2DFD is a finite difference stencil kernel for solving the 2D acoustic isotropic wave equation. Kernel in this sample is implemented as 2nd order in space, 2nd order in time scheme without boundary conditions. This sample code is implemented using SYCL* for CPU and GPU.

View code on GitHub*

#### 1D Heat Transfer - SYCL*

Sector

1d_HeatTransfer a finite difference stencil kernel for solving the 1D heat equation. Kernel in this sample is implemented as a linear partial differential equation with boundary conditions. This sample code is implemented using SYCL* for CPU and GPU.

View code on GitHub*

#### Merge Sort OpenMP

Sector

Classic recursive sorting algorithm using OpenMP*; for macOS.

View code on GitHub*

#### PointPillars

Sector

This sample performs 3D object detection and classification using data (point cloud) from a LIDAR sensor as input.

View code on GitHub*

* SYCL and the SYCL logo are trademarks of the Khronos Group Inc.