Remove CUDA requirement
@@ -15,25 +15,22 @@ build:
number: 0
run_exports:
- {{ pin_compatible('kokkos') }}
- missing_dso_whitelist:
- - '*/libcuda.*' # [cuda_compiler_version != "None"]
script_env:
# Search acronyms on https://en.wikichip.org/ to enable optimizations
# for each platform for desktop chips released since 2012 (10 years)
# Build options here: https://github.com/kokkos/kokkos/blob/master/BUILD.md
+ # FIXME: Cannot optimize for multiple CPU archs simultaneously. Choose smallest instruction set??
- Kokkos_OPT_ARGS=-DKokkos_ARCH_AMDAVX=ON -DKokkos_ARCH_BDW=ON -DKokkos_ARCH_HSW=ON -DKokkos_ARCH_SNB=ON -DKokkos_ARCH_ZEN=ON -DKokkos_ARCH_ZEN2=ON -DKokkos_ARCH_ZEN3=ON # [x86_64 and not osx]
- Kokkos_OPT_ARGS=-DKokkos_ARCH_POWER8=ON -DKokkos_ARCH_POWER9=ON # [ppc64le]
- Kokkos_OPT_ARGS=-DKokkos_ARCH_ARMV80=ON -DKokkos_ARCH_ARMV81=ON # [aarch64]
- # Target compute capability 3.5 for minimum arch supported by CUDA SDK 11
- # Kokkos v3.5.00 only lets us optimize for one CUDA arch at a time
- - Kokkos_CUDA_ARGS=-DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_KEPLER35=ON # [cuda_compiler_version != "None"]
+ # Kokkos v3.5.00 only lets us optimize for one CUDA arch at a time, so builds for conda-forge not possible
+ - Kokkos_CUDA_ARGS=-DKokkos_ENABLE_CUDA=OFF
- Kokkos_TEST_ARGS=-DKokkos_ENABLE_TESTS=ON # [cuda_compiler_version == "None"]
- Kokkos_TEST_ARGS=-DKokkos_ENABLE_TESTS=OFF # [cuda_compiler_version != "None"]
requirements:
build:
- - cmake >=3.21.1
- - {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
+ - cmake >=3.21.1,<4
- {{ compiler('cxx') }}
- llvm-openmp # [osx]
- libgomp # [linux]
@@ -62,10 +59,10 @@ test:
about:
home: https://kokkos.org/
- summary: |
+ summary: >
Kokkos C++ Performance Portability Programming EcoSystem: The Programming
Model - Parallel Execution and Memory Abstraction
- description: |
+ description: >
Kokkos Core implements a programming model in C++ for writing performance
portable applications targeting all major HPC platforms. For that purpose
it provides abstractions for both parallel execution of code and data
@@ -81,4 +78,5 @@ about:
extra:
recipe-maintainers:
+ - BastianZim
- carterbox
