Selecting a Compiler — oneMath 0.1 documentation (original) (raw)
Selecting a Compiler#
You must choose a compiler according to the required backend and the operating system of your application.
- If your application requires Intel GPU, useIntel(R) oneAPI DPC++ Compiler
icpx
on Linux oricx
on Windows. - If your Linux application requires NVIDIA GPU, build
clang++
from the latest source ofoneAPI DPC++ Compiler with support for NVIDIA CUDA or usehipSYCL
from the hipSYCL repository (except for LAPACK domain). - If your Linux application requires AMD GPU, build
clang++
from the latest source of oneAPI DPC++ Compiler with support for HIP AMD or usehipSYCL
. - If no Intel GPU, NVIDIA GPU, or AMD GPU is required, on Linux you can useIntel(R) oneAPI DPC++ Compiler
icpx
, oneAPI DPC++ Compilerclang++
, orhipSYCL
, and on Windows you can use eitherIntel(R) oneAPI DPC++ Compilericx
or oneAPI DPC++ Compilerclang-cl
.