nixpkgs/pkgs/development/libraries/science/math/nccl/default.nix

25 lines
679 B
Nix
Raw Normal View History

2018-05-31 09:12:59 +02:00
{ callPackage, cudatoolkit_8, cudatoolkit_9 }:
2017-12-28 17:40:28 +01:00
let
generic = args: callPackage (import ./generic.nix (removeAttrs args ["cudatoolkit"])) {
inherit (args) cudatoolkit;
2017-12-28 17:40:28 +01:00
};
in
2017-12-28 17:40:28 +01:00
{
2018-05-31 09:12:59 +02:00
nccl_cudatoolkit_8 = generic rec {
version = "2.1.4";
2018-05-31 09:12:59 +02:00
cudatoolkit = cudatoolkit_8;
srcName = "nccl_${version}-1+cuda${cudatoolkit.majorVersion}_x86_64.txz";
sha256 = "1lwwm8kdhna5m318yg304kl2gsz1jwhv4zv4gn8av2m57zh848zi";
};
2017-12-28 17:40:28 +01:00
2018-05-31 09:12:59 +02:00
nccl_cudatoolkit_9 = generic rec {
version = "2.1.4";
2018-05-31 09:12:59 +02:00
cudatoolkit = cudatoolkit_9;
srcName = "nccl_${version}-1+cuda${cudatoolkit.majorVersion}_x86_64.txz";
sha256 = "0pajmqzkacpszs63jh2hw2qqc49kj75kcf7r0ky8hdh560q8xn0p";
2017-12-28 17:40:28 +01:00
};
}