summaryrefslogtreecommitdiffstats
path: root/pkgs/development/cuda-modules/packages/libcusolvermp.nix
blob: 8ece258a3ba12f519ff423149b103a83a3f360b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  _cuda,
  buildRedist,
  cuda_cudart,
  libcublas,
  libcusolver,
  nccl,
}:
buildRedist {
  redistName = "cusolvermp";
  pname = "libcusolvermp";

  outputs = [
    "out"
    "dev"
    "include"
    "lib"
  ];

  buildInputs = [
    cuda_cudart
    libcublas
    libcusolver
    nccl
  ];

  autoPatchelfIgnoreMissingDeps = [
    # Needs to be dynamically loaded as it depends on the hardware
    "libcuda.so.1"
  ];

  meta = {
    description = "High-performance, distributed-memory, GPU-accelerated library that provides tools for solving dense linear systems and eigenvalue problems";
    longDescription = ''
      The NVIDIA cuSOLVERMp library is a high-performance, distributed-memory, GPU-accelerated library that provides
      tools for solving dense linear systems and eigenvalue problems.
    '';
    homepage = "https://developer.nvidia.com/cusolver";
  };
}