Something went wrong. Try again.
lol
Something went wrong. Try again.
969 B · 39 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940{ buildRedist, cudaAtLeast, lib, libcublas, libcusparse, libnvjitlink,}:buildRedist { redistName = "cuda"; pname = "libcusolver";
outputs = [ "out" "dev" "include" "lib" "static" "stubs" ];
buildInputs = # Always depends on this [ (lib.getLib libcublas) ] # Dependency from 12.0 and on ++ lib.optionals (cudaAtLeast "12.0") [ libnvjitlink ] # Dependency from 12.1 and on ++ lib.optionals (cudaAtLeast "12.1") [ (lib.getLib libcusparse) ];
meta = { description = "Collection of dense and sparse direct linear solvers and Eigen solvers"; longDescription = '' The NVIDIA cuSOLVER library provides a collection of dense and sparse direct linear solvers and Eigen solvers which deliver significant acceleration for Computer Vision, CFD, Computational Chemistry, and Linear Optimization applications. ''; homepage = "https://developer.nvidia.com/cusolver"; };}