ls1-MarDyn
ls1-MarDyn molecular dynamics code
Macros | Typedefs
SIMD_TYPES.h File Reference

Defines the length of the vectors and the corresponding functions. More...

#include <type_traits>
#include <cstdint>
#include "SIMD_DEFINITIONS.h"

Go to the source code of this file.

Macros

#define SIMD_TYPES_H
 
#define VCP_SPSP   0
 
#define VCP_SPDP   1
 
#define VCP_DPDP   2
 
#define VCP_NOVEC   0
 
#define VCP_VEC_SSE3   1
 
#define VCP_VEC_AVX   2
 
#define VCP_VEC_AVX2   3
 
#define VCP_VEC_KNL   6
 
#define VCP_VEC_KNL_GATHER   7
 
#define VCP_VEC_AVX512F   8
 
#define VCP_VEC_AVX512F_GATHER   9
 
#define VCP_VEC_W__64   0
 
#define VCP_VEC_W_128   1
 
#define VCP_VEC_W_256   2
 
#define VCP_VEC_W_512   3
 
#define VCP_VEC_TYPE   VCP_NOVEC
 
#define VCP_VEC_WIDTH   VCP_VEC_W__64
 

Typedefs

typedef std::conditional< VCP_PREC==VCP_SPSPorVCP_PREC==VCP_SPDP, float, double >::type vcp_real_calc
 
typedef std::conditional< VCP_PREC==VCP_SPSP, float, double >::type vcp_real_accum
 
typedef std::conditional< VCP_PREC==VCP_SPSPorVCP_PREC==VCP_SPDP, uint32_t, uint64_t >::type vcp_ljc_id_t
 
typedef int countertype32
 
typedef uint8_t vcp_mask_vec
 
typedef uint8_t vcp_mask_single
 
typedef vcp_mask_vec vcp_lookupOrMask_vec
 
typedef vcp_mask_single vcp_lookupOrMask_single
 

Detailed Description

Defines the length of the vectors and the corresponding functions.

Author
Steffen Seckler