Skip to content

Commit

Permalink
fix lambda extension for nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Jan 8, 2025
1 parent 1aedc1a commit a4823d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/job_generator/generate_job_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,10 @@ def job_variables(job: Dict[str, Tuple[str, str]]) -> Dict[str, str]:
# general configuration, if nvcc is the CUDA compiler
variables["ALPAKA_CI_CUDA_COMPILER"] = "nvcc"

# MdSpan requires alpaka_CUDA_EXPT_EXTENDED_LAMBDA
if job[MDSPAN][VERSION] == ON_VER:
variables["alpaka_CUDA_EXPT_EXTENDED_LAMBDA"] = ON

# configuration, if GCC is the CUDA host compiler
if job[HOST_COMPILER][NAME] == GCC:
variables["ALPAKA_CI_CXX"] = "g++"
Expand Down

0 comments on commit a4823d3

Please sign in to comment.