|
| 1 | +[build-system] |
| 2 | +requires = ["scikit-build-core>=0.10", "setuptools_scm"] |
| 3 | +build-backend = "scikit_build_core.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "pynvbench" |
| 7 | +description = "CUDA Kernel Benchmarking Package" |
| 8 | +authors = [{ name = "NVIDIA Corporation" }] |
| 9 | +classifiers = [ |
| 10 | + "Programming Language :: Python :: 3 :: Only", |
| 11 | + "Environment :: GPU :: NVIDIA CUDA", |
| 12 | + "License :: OSI Approved :: Apache Software License", |
| 13 | +] |
| 14 | +requires-python = ">=3.9" |
| 15 | +dependencies = [ |
| 16 | + # pathfinder |
| 17 | + "cuda-bindings", |
| 18 | + |
| 19 | + # Library expects to find shared libraries |
| 20 | + # libcupti, libnvperf_target, libnvperf_host |
| 21 | + # pathfinder is used to find it in the Python layout |
| 22 | + "nvidia-cuda-cupti-cu12", |
| 23 | + |
| 24 | + # The shared library |
| 25 | + # libnvidia-ml must be installed system-wide |
| 26 | + # (Debian package provider: libnvidia-compute) |
| 27 | +] |
| 28 | +dynamic = ["version"] |
| 29 | +readme = { file = "README.md", content-type = "text/markdown" } |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +test = ["pytest", "cupy-cuda12x", "numba"] |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +Homepage = "https://developer.nvidia.com/" |
| 36 | + |
| 37 | +[tool.scikit-build] |
| 38 | +minimum-version = "build-system.requires" |
| 39 | +build-dir = "build/{wheel_tag}" |
| 40 | + |
| 41 | +[tool.scikit-build.cmake] |
| 42 | +version = ">=3.30.4" |
| 43 | +args = [] |
| 44 | +build-type = "Release" |
| 45 | +source-dir = "." |
| 46 | + |
| 47 | +[tool.scikit-build.ninja] |
| 48 | +version = ">=1.11" |
| 49 | +make-fallback = true |
| 50 | + |
| 51 | +[tool.scikit-build.metadata.version] |
| 52 | +provider = "scikit_build_core.metadata.setuptools_scm" |
| 53 | + |
| 54 | +[tool.setuptools_scm] |
| 55 | +root = ".." |
| 56 | + |
| 57 | +[tool.scikit-build.wheel.packages] |
| 58 | +"cuda/nvbench" = "cuda/nvbench" |
0 commit comments