CGRA-ME
Macros | Variables
RIKENPE_Elastic.cpp File Reference
#include <CGRA/user-inc/UserModules.h>

Go to the source code of this file.

Macros

#define get_ones_in_8b(v)   (ones_in_4b[v & 0x0f] + ones_in_4b[v >> 4])
 
#define FP   1
 

Variables

static const unsigned char ones_in_4b [] = {0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4}
 

Macro Definition Documentation

◆ FP

#define FP   1

Definition at line 33 of file RIKENPE_Elastic.cpp.

◆ get_ones_in_8b

#define get_ones_in_8b (   v)    (ones_in_4b[v & 0x0f] + ones_in_4b[v >> 4])

Definition at line 22 of file RIKENPE_Elastic.cpp.

Variable Documentation

◆ ones_in_4b

const unsigned char ones_in_4b[] = {0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4}
static

RIKEN PE as shown in the Cluster 22 paper with the separate switch block. "Disjoint" SB Boma A. Adhi, Carlos Cortes, Yiyu Tan, Takuya Kojima, Artur Podobas, Kentaro Sano, The Cost of Flexibility: Embedded versus Discrete Routers in CGRAs for HPC. CLUSTER 2022: 347-356

Definition at line 21 of file RIKENPE_Elastic.cpp.