Skip to content

Commit

Permalink
cudaPackages.saxpy: only available from CUDA 11.4 and on
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Baker committed Dec 7, 2023
1 parent 0a7dacf commit aaf735e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/top-level/cuda-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ let

# Loose packages
cudatoolkit = final.callPackage ../development/cuda-modules/cudatoolkit {};
saxpy = final.callPackage ../development/cuda-modules/saxpy {};
# SaxPy is only available after 11.4 because it requires redistributable versions of CUDA libraries.
saxpy = attrsets.optionalAttrs (strings.versionAtLeast cudaVersion "11.4") (
final.callPackage ../development/cuda-modules/saxpy {}
);
}
# NCCL is not supported on Jetson, because it does not use NVLink or PCI-e for inter-GPU communication.
# https://forums.developer.nvidia.com/t/can-jetson-orin-support-nccl/232845/9
Expand Down

0 comments on commit aaf735e

Please sign in to comment.