-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add helper functions to verify generated combination-lists
- Add helper function to generate all expected parameter-value-pairs from a given parameter-value-matrix. - Add helper function to check, if all given parameter-value-pairs exist in a combination-list.
- Loading branch information
1 parent
261f9c7
commit 74589b0
Showing
3 changed files
with
520 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"""This module contains constants used in the bashi library.""" | ||
|
||
# index positions of the parameter-value | ||
NAME: int = 0 | ||
VERSION: int = 1 | ||
|
||
# parameter key names, whit special meaning | ||
HOST_COMPILER: str = "host_compiler" | ||
DEVICE_COMPILER: str = "device_compiler" | ||
|
||
# name of the used compilers | ||
GCC: str = "gcc" | ||
CLANG: str = "clang" | ||
NVCC: str = "nvcc" | ||
CLANG_CUDA: str = "clang-cuda" | ||
HIPCC: str = "hipcc" | ||
ICPX: str = "icpx" | ||
|
||
# alpaka backend names | ||
ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLE: str = "alpaka_ACC_CPU_B_SEQ_T_SEQ_ENABLE" | ||
ALPAKA_ACC_CPU_B_SEQ_T_THREADS_ENABLE: str = "alpaka_ACC_CPU_B_SEQ_T_THREADS_ENABLE" | ||
ALPAKA_ACC_CPU_B_TBB_T_SEQ_ENABLE: str = "alpaka_ACC_CPU_B_TBB_T_SEQ_ENABLE" | ||
ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLE: str = "alpaka_ACC_CPU_B_OMP2_T_SEQ_ENABLE" | ||
ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLE: str = "alpaka_ACC_CPU_B_SEQ_T_OMP2_ENABLE" | ||
ALPAKA_ACC_GPU_CUDA_ENABLE: str = "alpaka_ACC_GPU_CUDA_ENABLE" | ||
ALPAKA_ACC_GPU_HIP_ENABLE: str = "alpaka_ACC_GPU_HIP_ENABLE" | ||
ALPAKA_ACC_SYCL_ENABLE: str = "alpaka_ACC_SYCL_ENABLE" | ||
|
||
# software dependencies and compiler configurations | ||
UBUNTU: str = "ubuntu" | ||
CMAKE: str = "cmake" | ||
BOOST: str = "boost" | ||
CXX_STANDARD: str = "cxx_standard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.