Go to the source code of this file.
◆ 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;
458
459 return 0.0;
460}
void papi_stop_and_print_placeholder(long long theory, FILE *fp)
◆ 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;
468
469 return 0.0;
470}
◆ 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;
478
479 return 0.0;
480}
◆ 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 ) {
491 }
492 else if ( instr_per_loop == 48 ) {
495 }
496 else if ( instr_per_loop == 96 ) {
499 }
500
501 if( sum/4.0 != scalar_sum ) {
502 fprintf(
stderr,
"Inconsistent FLOP results detected!\n");
503 }
504}
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)