nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 backendStdenv,
3 buildRedist,
4 lib,
5}:
6buildRedist {
7 redistName = "cuda";
8 pname = "cuda_cupti";
9
10 outputs = [
11 "out"
12 "dev"
13 "include"
14 "lib"
15 "samples"
16 ]
17 ++ lib.optionals (backendStdenv.hostNixSystem == "x86_64-linux") [ "static" ];
18
19 allowFHSReferences = true;
20
21 meta = {
22 description = "C-based interface for creating profiling and tracing tools designed for CUDA applications";
23 longDescription = ''
24 The CUDA Profiling Tools Interface (CUPTI) provides a C-based interface for creating profiling and tracing tools
25 designed for CUDA applications.
26 '';
27 homepage = "https://docs.nvidia.com/cupti";
28 changelog = "https://docs.nvidia.com/cupti/release-notes/release-notes.html";
29 };
30}