Skip to content

When configuring Kokkos-Kernels with nvcc, need to set -ccbin

Junchao Zhang requested to merge jczhang/2024-04-30/fix-kk-cuda-ccbin into release

Otherwise, nvcc uses the default gcc on PATH, which might be too old and cause nvcc error out.

This happens on Polaris with cuda-12.4.1. Configure is checking KK's headers, but the gcc on PATH is gcc-7.5. We should use -ccbin CC, where CC is gcc-12.3.

Edited by Junchao Zhang

Merge request reports