nccl: init at 1.3.4-1
This commit is contained in:
parent
50a6403b09
commit
05573d3e06
41
pkgs/development/libraries/science/math/nccl/default.nix
Normal file
41
pkgs/development/libraries/science/math/nccl/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv, fetchFromGitHub
|
||||||
|
, gcc5, eject, cudatoolkit
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "cudatoolkit-${cudatoolkit.majorVersion}-nccl-${version}";
|
||||||
|
version = "1.3.4-1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "NVIDIA";
|
||||||
|
repo = "nccl";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0fvnrfn572lc6i2a3xyhbifm53ivcrr46z6cqr3b0bwb1iq79m7q";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gcc5
|
||||||
|
eject
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cudatoolkit
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"PREFIX=$(out)"
|
||||||
|
"CUDA_HOME=${cudatoolkit}"
|
||||||
|
"CUDA_LIB=${cudatoolkit.lib}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = ''
|
||||||
|
NVIDIA Collective Communications Library.
|
||||||
|
Multi-GPU and multi-node collective communication primitives.
|
||||||
|
'';
|
||||||
|
homepage = https://developer.nvidia.com/nccl;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
maintainers = with maintainers; [ hyphon81 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3545,6 +3545,10 @@ with pkgs;
|
|||||||
|
|
||||||
nbd = callPackage ../tools/networking/nbd { };
|
nbd = callPackage ../tools/networking/nbd { };
|
||||||
|
|
||||||
|
nccl = callPackage ../development/libraries/science/math/nccl {
|
||||||
|
cudatoolkit = cudatoolkit8;
|
||||||
|
};
|
||||||
|
|
||||||
ndjbdns = callPackage ../tools/networking/ndjbdns { };
|
ndjbdns = callPackage ../tools/networking/ndjbdns { };
|
||||||
|
|
||||||
ndppd = callPackage ../applications/networking/ndppd { };
|
ndppd = callPackage ../applications/networking/ndppd { };
|
||||||
|
Loading…
Reference in New Issue
Block a user