cuda

CUDA® is a parallel computing platform and programming model developed by NVIDIA for general computing on graphical processing units (GPUs).

Add to xmake.lua

add_requires("cuda")

Learn how to add and link packages with Xmake →

Information

Kind
toolchain
Recipe updated
2025-11-14T05:10:34.000Z

Platforms

  • windows: x64

Options

debug
Enable debug symbols. · Type: boolean · Default: false
utils
Enabled cuda utilities. · Type: table · Default: {}

Versions

No versions listed.

Dependencies

No dependencies declared.

Used by (5)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

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

install

xrepo install "cuda"

show info

xrepo info "cuda"

Bind a toolchain package

Template: replace TOOLCHAIN_NAME with the matching Xmake toolchain name, which may differ from the package name (for example, emcc for emscripten). Apply this selection to a compatible target and platform; this is not an add_packages library link.

xmake.lua — replace TOOLCHAIN_NAME

add_requires("cuda")

-- Replace TOOLCHAIN_NAME with the matching Xmake toolchain.
set_toolchains("TOOLCHAIN_NAME@cuda")

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 "cuda" shell