QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p > Struct Template Reference

#include <transpose.h>

Public Types

typedef array< int, s > result_type
 

Static Public Member Functions

__host__ static __device__ result_type impl (int idx, int col)
 

Static Public Attributes

static const int n = WARP_SIZE
 
static const int mod_n = n - 1
 
static const int c = static_gcd<m, WARP_SIZE>::value
 
static const int k = static_mod_inverse<m/c, n/c>::value
 
static const int mod_c = c - 1
 
static const int log_c = static_log<c>::value
 
static const int n_div_c = n / c
 
static const int mod_n_div_c = n_div_c - 1
 
static const int log_n_div_c = static_log<n_div_c>::value
 

Detailed Description

template<int s, int m, int p>
struct trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >

Definition at line 266 of file transpose.h.

Member Typedef Documentation

◆ result_type

template<int s, int m, int p>
typedef array<int, s> trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::result_type

Definition at line 276 of file transpose.h.

Member Function Documentation

◆ impl()

template<int s, int m, int p>
__host__ static __device__ result_type trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::impl ( int  idx,
int  col 
)
inlinestatic

Definition at line 277 of file transpose.h.

Member Data Documentation

◆ c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::c = static_gcd<m, WARP_SIZE>::value
static

Definition at line 269 of file transpose.h.

◆ k

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::k = static_mod_inverse<m/c, n/c>::value
static

Definition at line 270 of file transpose.h.

◆ log_c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::log_c = static_log<c>::value
static

Definition at line 272 of file transpose.h.

◆ log_n_div_c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::log_n_div_c = static_log<n_div_c>::value
static

Definition at line 275 of file transpose.h.

◆ mod_c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::mod_c = c - 1
static

Definition at line 271 of file transpose.h.

◆ mod_n

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::mod_n = n - 1
static

Definition at line 268 of file transpose.h.

◆ mod_n_div_c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::mod_n_div_c = n_div_c - 1
static

Definition at line 274 of file transpose.h.

◆ n

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::n = WARP_SIZE
static

Definition at line 267 of file transpose.h.

◆ n_div_c

template<int s, int m, int p>
const int trove::detail::c2r_compute_composite_offsets< array< int, s >, m, p >::n_div_c = n / c
static

Definition at line 273 of file transpose.h.


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