nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 612 B view raw
1{ 2 buildRedist, 3 cudaAtLeast, 4 lib, 5}: 6buildRedist { 7 redistName = "cuda"; 8 pname = "cuda_nvrtc"; 9 10 outputs = [ 11 "out" 12 "dev" 13 "include" 14 "lib" 15 ] 16 ++ lib.optionals (cudaAtLeast "11.5") [ "static" ] 17 ++ [ "stubs" ]; 18 19 allowFHSReferences = true; 20 21 meta = { 22 description = "Runtime compilation library for CUDA C++"; 23 longDescription = '' 24 NVRTC is a runtime compilation library for CUDA C++. It accepts CUDA C++ source code in character string form 25 and creates handles that can be used to obtain the PTX. 26 ''; 27 homepage = "https://docs.nvidia.com/cuda/nvrtc"; 28 }; 29}