8af89d0875
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
34 lines
755 B
Nix
34 lines
755 B
Nix
{
|
|
buildRedist,
|
|
cudaAtLeast,
|
|
lib,
|
|
libnvjitlink,
|
|
}:
|
|
buildRedist {
|
|
redistName = "cuda";
|
|
pname = "libcusparse";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"include"
|
|
"lib"
|
|
"static"
|
|
"stubs"
|
|
];
|
|
|
|
buildInputs =
|
|
# Dependency from 12.0 and on
|
|
lib.optionals (cudaAtLeast "12.0") [ libnvjitlink ];
|
|
|
|
meta = {
|
|
description = "GPU-accelerated basic linear algebra subroutines for sparse matrix computations for unstructured sparsity";
|
|
longDescription = ''
|
|
The cuSPARSE APIs provides GPU-accelerated basic linear algebra subroutines for sparse matrix computations for
|
|
unstructured sparsity.
|
|
'';
|
|
homepage = "https://developer.nvidia.com/cusparse";
|
|
changelog = "https://docs.nvidia.com/cuda/cusparse";
|
|
};
|
|
}
|