onedpl

oneDPL is part of the UXL Foundation and is an implementation of the oneAPI specification for the oneDPL component.

Latest version: 2022.9.0

Add to xmake.lua

add_requires("onedpl 2022.9.0")

Learn how to add and link packages with Xmake →

Information

Kind
library
Recipe updated
2025-06-25T04:00:02.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • windows: x86, x64, arm, arm64, arm64ec

Options

backend
Choose threading backend. · Type: string · Default: tbb · Values: tbb, dpcpp, dpcpp_only, omp, serial

Versions

  • 2021.6.1
  • 2022.5.0-rc1
  • 2022.6.0-rc1
  • 2022.7.0
  • 2022.7.1
  • 2022.8.0
  • 2022.9.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "onedpl 2022.9.0"

show info

xrepo info "onedpl"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("onedpl 2022.9.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("onedpl")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "onedpl 2022.9.0" shell