命令

作者: 大a艺术家 | 来源:发表于2020-06-27 17:52 被阅读0次

1.检查store事件可行性
mpicc -g -O3 cpi.c -o cpi -lm
hpcrun -o measurement_directory -e WP_DEADSPY -e MEM_UOPS_RETIRED:ALL_STORES@100 ./cpi -t
hpcstruct cpi
hpcprof -S cpi.hpcstruct -o database_directory measurement_directory
hpcviewer database_directory-5370

2.检查load事件可行性
mpicc -g -O3 cpi.c -o cpi -lm
hpcrun -o measurement_directory -e WP_LOADSPY -e MEM_UOPS_RETIRED:ALL_LOADS@100 ./cpi -t
hpcstruct cpi
hpcprof -S cpi.hpcstruct -o database_directory measurement_directory
hpcviewer database_directory

3.reuse load store
mpicc -g -O3 cpi.c -o cpi -lm
hpcrun -o measurement_directory -e WP_TEMPORAL_REUSE -e MEM_UOPS_RETIRED:ALL_STORES@100 -e MEM_UOPS_RETIRED:ALL_LOADS@100 ./cpi -t
hpcrun -o measurement_directory -e WP_SPATIAL_REUSE -e MEM_UOPS_RETIRED:ALL_STORES@100 -e MEM_UOPS_RETIRED:ALL_LOADS@100 ./cpi -t

4.普通事件
mpicc -g -O3 cpi.c -o cpi -lm
mpirun -np 24 hpcrun --event WALLCLOCK@400 --event PAPI_FDV_INS@10000 ./cpi
hpcstruct cpi
hpcprof -S cpi.hpcstruct -o database_directory measurement_directory
hpcviewer database_directory

相关文章

网友评论

      本文标题:命令

      本文链接:https://www.haomeiwen.com/subject/qxsvfktx.html