Skip to content

Files

Latest commit

 

History

History
38 lines (20 loc) · 964 Bytes

tutorials.025.build_posix_gpgpu.md

File metadata and controls

38 lines (20 loc) · 964 Bytes

Building ORE with GPGPU Support on Posix Systems (e.g. MacOS and Linux)

This tutorial explains how to build ORE with GPGPU support on Windows.

Back to tutorials index

This build is based upon the vanilla Posix build of ORE:

Building ORE on Posix Systems (e.g. MacOS and Linux)

With the differences noted below:

Build ORE

Configure ORE

When you run cmake, add the flag -DORE_ENABLE_OPENCL=ON:

cmake .. -DORE_ENABLE_OPENCL=ON

Run tests

QuantExt

Below are the commands to run the unit tests for the ORE GPGPU Framework:

cd $ORE_ROOT_DIR/build/QuantExt/test
./quantext-test-suite --log_level=message --run_test=QuantExtTestSuite/ComputeEnvironmentTest

Design

Below is a UML Class Diagram for the ORE GPGPU Framework:

ORE GPGPU Framework