alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
Config.hpp File Reference
#include "alpaka/core/PP.hpp"
#include <cuda.h>
#include <omp.h>

Go to the source code of this file.

Macros

#define ALPAKA_ARCH_AMD   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_ARCH_ARM   0
 
#define ALPAKA_ARCH_HSA   ALPAKA_ARCH_AMD
 
#define ALPAKA_ARCH_PTX   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_ARCH_RISCV   0
 
#define ALPAKA_ARCH_X86   0
 
#define ALPAKA_COMP_CLANG   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_CLANG_CUDA   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_GNUC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_HIP   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_IBM   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_ICPX   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_MSVC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_NVCC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_COMP_PGI   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_LANG_CUDA   ALPAKA_VVRRP_TO_VERSION(CUDART_VERSION)
 
#define ALPAKA_LANG_HIP   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_LANG_SYCL   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE
 
#define ALPAKA_OMP   ALPAKA_YYYYMM_TO_VERSION(_OPENMP)
 
#define ALPAKA_OS_CYGWIN   0
 
#define ALPAKA_OS_IOS   0
 
#define ALPAKA_OS_LINUX   0
 
#define ALPAKA_OS_WINDOWS   0
 

Macro Definition Documentation

◆ ALPAKA_ARCH_AMD

#define ALPAKA_ARCH_AMD   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

HIP device compile

The version on the host side will always be ALPAKA_VERSION_NUMBER_NOT_AVAILABLE. On the device side unknown version will be set to ALPAKA_VERSION_NUMBER_NOT_AVAILABLE.

Rules:

Definition at line 109 of file Config.hpp.

◆ ALPAKA_ARCH_ARM

#define ALPAKA_ARCH_ARM   0

Definition at line 79 of file Config.hpp.

◆ ALPAKA_ARCH_HSA

#define ALPAKA_ARCH_HSA   ALPAKA_ARCH_AMD

HSA device compile

This version is equal to ALPAKA_ARCH_AMD and is only carried for backwards compatibility to older ALPAKA versions.

Definition at line 117 of file Config.hpp.

◆ ALPAKA_ARCH_PTX

#define ALPAKA_ARCH_PTX   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 88 of file Config.hpp.

◆ ALPAKA_ARCH_RISCV

#define ALPAKA_ARCH_RISCV   0

Definition at line 70 of file Config.hpp.

◆ ALPAKA_ARCH_X86

#define ALPAKA_ARCH_X86   0

Definition at line 61 of file Config.hpp.

◆ ALPAKA_COMP_CLANG

#define ALPAKA_COMP_CLANG   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 143 of file Config.hpp.

◆ ALPAKA_COMP_CLANG_CUDA

#define ALPAKA_COMP_CLANG_CUDA   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 178 of file Config.hpp.

◆ ALPAKA_COMP_GNUC

#define ALPAKA_COMP_GNUC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 162 of file Config.hpp.

◆ ALPAKA_COMP_HIP

#define ALPAKA_COMP_HIP   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 128 of file Config.hpp.

◆ ALPAKA_COMP_IBM

#define ALPAKA_COMP_IBM   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 170 of file Config.hpp.

◆ ALPAKA_COMP_ICPX

#define ALPAKA_COMP_ICPX   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 194 of file Config.hpp.

◆ ALPAKA_COMP_MSVC

#define ALPAKA_COMP_MSVC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 151 of file Config.hpp.

◆ ALPAKA_COMP_NVCC

#define ALPAKA_COMP_NVCC   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 136 of file Config.hpp.

◆ ALPAKA_COMP_PGI

#define ALPAKA_COMP_PGI   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 185 of file Config.hpp.

◆ ALPAKA_LANG_CUDA

#define ALPAKA_LANG_CUDA   ALPAKA_VVRRP_TO_VERSION(CUDART_VERSION)

Definition at line 218 of file Config.hpp.

◆ ALPAKA_LANG_HIP

#define ALPAKA_LANG_HIP   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 209 of file Config.hpp.

◆ ALPAKA_LANG_SYCL

#define ALPAKA_LANG_SYCL   ALPAKA_VERSION_NUMBER_NOT_AVAILABLE

Definition at line 229 of file Config.hpp.

◆ ALPAKA_OMP

#define ALPAKA_OMP   ALPAKA_YYYYMM_TO_VERSION(_OPENMP)

Definition at line 244 of file Config.hpp.

◆ ALPAKA_OS_CYGWIN

#define ALPAKA_OS_CYGWIN   0

Definition at line 50 of file Config.hpp.

◆ ALPAKA_OS_IOS

#define ALPAKA_OS_IOS   0

Definition at line 41 of file Config.hpp.

◆ ALPAKA_OS_LINUX

#define ALPAKA_OS_LINUX   0

Definition at line 32 of file Config.hpp.

◆ ALPAKA_OS_WINDOWS

#define ALPAKA_OS_WINDOWS   0

Definition at line 22 of file Config.hpp.