-
Notifications
You must be signed in to change notification settings - Fork 360
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (113 loc) · 3.11 KB
/
pyproject.toml
File metadata and controls
131 lines (113 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
[build-system]
requires = ["scikit-build-core>=0.10", "setuptools_scm", "cython"]
build-backend = "scikit_build_core.build"
[project]
name = "cuda-cccl"
description = "CUDA Core Compute Libraries for Python"
authors = [{ name = "NVIDIA Corporation" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Environment :: GPU :: NVIDIA CUDA",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
]
requires-python = ">=3.10"
dependencies = [
"numba>=0.60.0",
"numpy",
"cuda-pathfinder>=1.2.3",
"cuda-core",
"typing_extensions",
]
dynamic = ["version"]
readme = { file = "README.md", content-type = "text/markdown" }
[project.optional-dependencies]
cu12 = [
"cuda-bindings>=12.9.1,<13.0.0",
"cuda-toolkit[nvrtc,nvjitlink,cudart,nvcc]==12.*",
"numba-cuda[cu12]>=0.23.0,<0.27.0",
]
cu13 = [
"cuda-bindings>=13.0.0,<14.0.0",
"cuda-toolkit[nvrtc,nvjitlink,cudart,nvcc,nvvm]==13.*",
"numba-cuda[cu13]>=0.23.0,<0.27.0",
]
test-cu12 = [
# an undocumented way to inherit the dependencies of the cu12 extra.
# GH pypa #11296
"cuda-cccl[cu12]",
"pytest",
"pytest-xdist",
"cupy-cuda12x",
"pytest-benchmark",
]
test-cu13 = [
"cuda-cccl[cu13]",
"pytest",
"pytest-xdist",
"cupy-cuda13x",
"pytest-benchmark",
]
bench-cu12 = ["cuda-cccl[cu12]", "cuda-bench[cu12]"]
bench-cu13 = ["cuda-cccl[cu13]", "cuda-bench[cu13]"]
[project.urls]
Homepage = "https://github.com/NVIDIA/cccl"
Repository = "https://github.com/NVIDIA/cccl"
Documentation = "https://nvidia.github.io/cccl"
Issues = "https://github.com/NVIDIA/cccl/issues"
[tool.scikit-build]
minimum-version = "build-system.requires"
build-dir = "build/{wheel_tag}"
[tool.scikit-build.cmake]
version = ">=3.21"
args = []
build-type = "Release"
source-dir = "."
[tool.scikit-build.ninja]
version = ">=1.11"
make-fallback = true
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.setuptools_scm"
[tool.setuptools_scm]
root = "../.."
git_describe_command = ["git", "describe", "--tags", "--match", "v[0-9]*"]
[tool.scikit-build.wheel.packages]
"cuda" = "cuda"
[tool.mypy]
python_version = "3.10"
[[tool.mypy.overrides]]
module = [
"numba.*",
"llvmlite.*",
"cuda.cccl.*",
"cuda.bindings.*",
"cuda.core.*",
"cuda.pathfinder.*",
]
ignore_missing_imports = true
follow_imports = "skip"
[tool.ruff]
extend = "../../pyproject.toml"
[tool.ruff.lint.isort]
known-first-party = [
"cuda.cccl",
"cuda.cccl.headers",
"cuda.compute",
"cuda.coop",
]
[tool.pytest.ini_options]
markers = [
"no_verify_sass: skip SASS verification check",
"large: tests requiring large device memory allocations",
]