Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
ctr_tsr.cxx File Reference
#include "../shared/util.h"
#include "ctr_comm.h"
#include "ctr_tsr.h"
#include "sym_seq_ctr.h"
#include "contraction.h"
#include "../tensor/untyped_tensor.h"
#include "../shared/model.h"
#include <omp.h>
Include dependency graph for ctr_tsr.cxx:

Go to the source code of this file.

Namespaces

 CTF_int
 

Macros

#define VIRT_NTD   1
 
#define SET_LDA_X(__X)
 

Functions

void CTF_int::inv_idx (int order_A, int const *idx_A, int order_B, int const *idx_B, int order_C, int const *idx_C, int *order_tot, int **idx_arr)
 invert index map More...
 

Variables

LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_cst (seq_tsr_ctr_mdl_cst_init,"seq_tsr_ctr_mdl_cst")
 
LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_ref (seq_tsr_ctr_mdl_ref_init,"seq_tsr_ctr_mdl_ref")
 
LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_inr (seq_tsr_ctr_mdl_inr_init,"seq_tsr_ctr_mdl_inr")
 
LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_off (seq_tsr_ctr_mdl_off_init,"seq_tsr_ctr_mdl_off")
 
LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_cst_inr (seq_tsr_ctr_mdl_cst_inr_init,"seq_tsr_ctr_mdl_cst_inr")
 
LinModel< 3 > CTF_int::seq_tsr_ctr_mdl_cst_off (seq_tsr_ctr_mdl_cst_off_init,"seq_tsr_ctr_mdl_cst_off")
 

Macro Definition Documentation

#define SET_LDA_X (   __X)
Value:
do { \
nb_##__X = 1; \
for (i=0; i<order_##__X; i++){ \
lda_##__X[i] = nb_##__X; \
nb_##__X = nb_##__X*virt_dim[idx_map_##__X[i]]; \
} \
memset(ilda_##__X, 0, num_dim*sizeof(int)); \
for (i=0; i<order_##__X; i++){ \
ilda_##__X[idx_map_##__X[i]] += lda_##__X[i]; \
} \
} while (0)

Referenced by CTF_int::ctr_virt::run().

#define VIRT_NTD   1

Definition at line 17 of file ctr_tsr.cxx.

Referenced by CTF_int::ctr_virt::mem_fp(), and CTF_int::ctr_virt::run().