Go to the source code of this file.
◆ test_hp_mac_VEC_FMA_12()
| static float test_hp_mac_VEC_FMA_12 |
( |
uint64 |
iterations, |
|
|
int |
EventSet, |
|
|
FILE * |
fp |
|
) |
| |
|
static |
Definition at line 354 of file vec_fma_hp.c.
354 {
355
356 (void)iterations;
359
360 return 0.0;
361}
void papi_stop_and_print_placeholder(long long theory, FILE *fp)
◆ test_hp_mac_VEC_FMA_24()
| static float test_hp_mac_VEC_FMA_24 |
( |
uint64 |
iterations, |
|
|
int |
EventSet, |
|
|
FILE * |
fp |
|
) |
| |
|
static |
Definition at line 364 of file vec_fma_hp.c.
364 {
365
366 (void)iterations;
369
370 return 0.0;
371}
◆ test_hp_mac_VEC_FMA_48()
| static float test_hp_mac_VEC_FMA_48 |
( |
uint64 |
iterations, |
|
|
int |
EventSet, |
|
|
FILE * |
fp |
|
) |
| |
|
static |
Definition at line 374 of file vec_fma_hp.c.
374 {
375
376 (void)iterations;
379
380 return 0.0;
381}
◆ test_hp_VEC_FMA()
| static void test_hp_VEC_FMA |
( |
int |
instr_per_loop, |
|
|
uint64 |
iterations, |
|
|
int |
EventSet, |
|
|
FILE * |
fp |
|
) |
| |
|
static |
Definition at line 384 of file vec_fma_hp.c.
385{
386 float sum = 0.0;
387 float scalar_sum = 0.0;
388
389 if ( instr_per_loop == 12 ) {
392 }
393 else if ( instr_per_loop == 24 ) {
396 }
397 else if ( instr_per_loop == 48 ) {
400 }
401
402 if( sum/4.0 != scalar_sum ) {
403 fprintf(
stderr,
"FMA: Inconsistent FLOP results detected!\n");
404 }
405}
static float test_hp_mac_VEC_FMA_48(uint64 iterations, int EventSet, FILE *fp)
static float test_hp_mac_VEC_FMA_24(uint64 iterations, int EventSet, FILE *fp)
static float test_hp_mac_VEC_FMA_12(uint64 iterations, int EventSet, FILE *fp)
float test_hp_scalar_VEC_FMA_48(uint64 iterations)
float test_hp_scalar_VEC_FMA_24(uint64 iterations)
float test_hp_scalar_VEC_FMA_12(uint64 iterations)