QUDA  v1.1.0
A library for QCD on GPUs
Static Public Attributes | List of all members
trove::static_gcd< u, v > Struct Template Reference

#include <static_gcd.h>

Static Public Attributes

static const bool u_odd = (u & 0x1) == 1
 
static const bool v_odd = (v & 0x1) == 1
 
static const bool equal = u == v
 
static const int value = equal ? u : detail::static_gcd_helper<u_odd, v_odd, u, v>::value
 

Detailed Description

template<int u, int v>
struct trove::static_gcd< u, v >

Definition at line 60 of file static_gcd.h.

Member Data Documentation

◆ equal

template<int u, int v>
const bool trove::static_gcd< u, v >::equal = u == v
static

Definition at line 63 of file static_gcd.h.

◆ u_odd

template<int u, int v>
const bool trove::static_gcd< u, v >::u_odd = (u & 0x1) == 1
static

Definition at line 61 of file static_gcd.h.

◆ v_odd

template<int u, int v>
const bool trove::static_gcd< u, v >::v_odd = (v & 0x1) == 1
static

Definition at line 62 of file static_gcd.h.

◆ value

template<int u, int v>
const int trove::static_gcd< u, v >::value = equal ? u : detail::static_gcd_helper<u_odd, v_odd, u, v>::value
static

Definition at line 64 of file static_gcd.h.


The documentation for this struct was generated from the following file: