diff --git a/cuda_core/pixi.lock b/cuda_core/pixi.lock index 16a0d2460f..f818f586da 100644 --- a/cuda_core/pixi.lock +++ b/cuda_core/pixi.lock @@ -1051,7 +1051,7 @@ packages: timestamp: 1764878612030 - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314h59f3c06_0 subdir: linux-64 variants: @@ -1068,12 +1068,12 @@ packages: - cuda-cudart >=13.1.80,<14.0a0 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314h625260f_0 subdir: win-64 variants: @@ -1088,12 +1088,12 @@ packages: - python_abi 3.14.* *_cp314 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314ha479ada_0 subdir: linux-aarch64 variants: @@ -1110,7 +1110,7 @@ packages: - cuda-cudart >=13.1.80,<14.0a0 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-crt-dev_linux-64-12.9.86-ha770c72_2.conda diff --git a/pixi.lock b/pixi.lock new file mode 100644 index 0000000000..fa9b0c1c11 --- /dev/null +++ b/pixi.lock @@ -0,0 +1,21 @@ +version: 6 +environments: + cu12: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: {} + cu13: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: {} + default: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: {} +packages: [] diff --git a/pixi.toml b/pixi.toml new file mode 100644 index 0000000000..c85559e8a7 --- /dev/null +++ b/pixi.toml @@ -0,0 +1,50 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +[workspace] +channels = ["conda-forge"] +platforms = ["linux-64", "linux-aarch64", "win-64"] + +[feature.cu12.dependencies] +[feature.cu13.dependencies] + +[environments] +cu12 = { features = ["cu12"] } +cu13 = { features = ["cu13"] } + +[activation.env] +PIXI_ENVIRONMENT_NAME = "${PIXI_ENVIRONMENT_NAME/default/cu13}" + +# Test Tasks +# Runs tests across all sub-packages: pathfinder → bindings → core (dependency order) +# Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME +# +# Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test +[target.linux.tasks.test-pathfinder] +cmd = [ + "pixi", + "run", + "--manifest-path", + "$PIXI_PROJECT_ROOT/cuda_pathfinder", + "test", +] + +[target.linux.tasks.test-bindings] +cmd = [ + "pixi", + "run", + "--manifest-path", + "$PIXI_PROJECT_ROOT/cuda_bindings", + "test", +] + +[target.linux.tasks.test-core] +cmd = ["pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", "test"] + +[target.linux.tasks.test] +depends-on = [ + { task = "test-pathfinder" }, + { task = "test-bindings" }, + { task = "test-core" }, +]