16#ifndef CABANA_PERFORMANCETRAITS_HPP
17#define CABANA_PERFORMANCETRAITS_HPP
21#include <Kokkos_Core.hpp>
31template <
class ExecutionSpace>
36#if defined( KOKKOS_ENABLE_SERIAL )
41 static constexpr int vector_length = 16;
47#if defined( KOKKOS_ENABLE_THREADS )
52 static constexpr int vector_length = 16;
58#if defined( KOKKOS_ENABLE_OPENMP )
60class PerformanceTraits<Kokkos::OpenMP>
63 static constexpr int vector_length = 16;
69#if defined( KOKKOS_ENABLE_CUDA )
71class PerformanceTraits<Kokkos::Cuda>
74 static constexpr int vector_length = 32;
79#if defined( KOKKOS_ENABLE_HIP )
84 static constexpr int vector_length = 64;
89#if defined( KOKKOS_ENABLE_SYCL )
94 static constexpr int vector_length = 16;
99#if defined( KOKKOS_ENABLE_OPENMPTARGET )
104 static constexpr int vector_length = 16;
Memory access type checking.
Core: particle data structures and algorithms.
Definition Cabana_AoSoA.hpp:36