alpaka: Raise required CMake version to 3.21

Upgrading to CMake 3.21 would offer us the following advantages:

  • Support for CUDA_SEPARABLE_COMPILATION for clang-cuda (CMake 3.19) (important for #1467)
  • Platform support for Apple Silicon (CMake 3.19)
  • A more flexible FindCUDAToolkit module (CMake 3.19)
  • Support for C++23 mode (CMake 3.20)
  • nvc++ compiler support (CMake 3.20)
  • Support for the oneAPI compiler toolchain (CMake 3.20) (nice to have for #789)
  • Support for Visual Studio 2022 generators (CMake 3.21)
  • HIP as first-class language (CMake 3.21)
  • Support for the Fujitsu compiler toolchain (CMake 3.21)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

Therefore, I would postpone it version 0.11, because I think Ubuntu 20.04 will be stay the mainly used Ubuntu version at the release of 0.10.

CMake 3.21 was released on Jul 14, 2021. That feels a bit too new to require, but I am not blocking you. I work on platforms where I can get the latest tools 😃