# IT4Innovations
# LK 2023

name = 'NCCL'
version = '2.16.2'
versionsuffix = '-CUDA-%(cudaver)s'

homepage = 'https://developer.nvidia.com/nccl'
description = """The NVIDIA Collective Communications Library (NCCL) implements multi-GPU and multi-node collective
communication primitives that are performance optimized for NVIDIA GPUs."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

github_account = 'NVIDIA'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s-1.tar.gz']
checksums = ['7f7c738511a8876403fc574d13d48e7c250d934d755598d82e14bab12236fc64']

builddependencies = [('binutils', '2.39')]

dependencies = [
    ('CUDA', '12.2.0', '', SYSTEM),
    ('UCX-CUDA', '1.14.1', versionsuffix),
]

# default CUDA compute capabilities to use (override via --cuda-compute-capabilities)
#cuda_compute_capabilities = ['5.0', '6.0', '7.0', '7.5', '8.0', '8.6', '9.0']

moduleclass = 'lib'