PAPI 7.1.0.0
Loading...
Searching...
No Matches
vec_nonfma_hp.c File Reference
Include dependency graph for vec_nonfma_hp.c:

Go to the source code of this file.

Functions

static float test_hp_mac_VEC_24 (uint64 iterations, int EventSet, FILE *fp)
 
static float test_hp_mac_VEC_48 (uint64 iterations, int EventSet, FILE *fp)
 
static float test_hp_mac_VEC_96 (uint64 iterations, int EventSet, FILE *fp)
 
static void test_hp_VEC (int instr_per_loop, uint64 iterations, int EventSet, FILE *fp)
 

Function Documentation

◆ test_hp_mac_VEC_24()

static float test_hp_mac_VEC_24 ( uint64  iterations,
int  EventSet,
FILE *  fp 
)
static

Definition at line 453 of file vec_nonfma_hp.c.

453 {
454
455 (void)iterations;
456 (void)EventSet;
458
459 return 0.0;
460}
static int EventSet
Definition: init_fini.c:8
static FILE * fp
void papi_stop_and_print_placeholder(long long theory, FILE *fp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_hp_mac_VEC_48()

static float test_hp_mac_VEC_48 ( uint64  iterations,
int  EventSet,
FILE *  fp 
)
static

Definition at line 463 of file vec_nonfma_hp.c.

463 {
464
465 (void)iterations;
466 (void)EventSet;
468
469 return 0.0;
470}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_hp_mac_VEC_96()

static float test_hp_mac_VEC_96 ( uint64  iterations,
int  EventSet,
FILE *  fp 
)
static

Definition at line 473 of file vec_nonfma_hp.c.

473 {
474
475 (void)iterations;
476 (void)EventSet;
478
479 return 0.0;
480}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_hp_VEC()

static void test_hp_VEC ( int  instr_per_loop,
uint64  iterations,
int  EventSet,
FILE *  fp 
)
static

Definition at line 483 of file vec_nonfma_hp.c.

484{
485 float sum = 0.0;
486 float scalar_sum = 0.0;
487
488 if ( instr_per_loop == 24 ) {
489 sum += test_hp_mac_VEC_24( iterations, EventSet, fp );
490 scalar_sum += test_hp_scalar_VEC_24( iterations );
491 }
492 else if ( instr_per_loop == 48 ) {
493 sum += test_hp_mac_VEC_48( iterations, EventSet, fp );
494 scalar_sum += test_hp_scalar_VEC_48( iterations );
495 }
496 else if ( instr_per_loop == 96 ) {
497 sum += test_hp_mac_VEC_96( iterations, EventSet, fp );
498 scalar_sum += test_hp_scalar_VEC_96( iterations );
499 }
500
501 if( sum/4.0 != scalar_sum ) {
502 fprintf(stderr, "Inconsistent FLOP results detected!\n");
503 }
504}
FILE * stderr
static float test_hp_mac_VEC_96(uint64 iterations, int EventSet, FILE *fp)
static float test_hp_mac_VEC_48(uint64 iterations, int EventSet, FILE *fp)
static float test_hp_mac_VEC_24(uint64 iterations, int EventSet, FILE *fp)
float test_hp_scalar_VEC_24(uint64 iterations)
float test_hp_scalar_VEC_48(uint64 iterations)
float test_hp_scalar_VEC_96(uint64 iterations)
Here is the call graph for this function: