Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 815 Bytes

File metadata and controls

31 lines (24 loc) · 815 Bytes

About this repository

  • C code snippets of optimization experiments

How to try

$ git clone git@github.com:serihiro/optimization_experiments.git
$ cd optimization_experiments/dgemm
$ make execute_all

Contents

  • dgemm

  • dgemv

  • gemm_cache_optimization

  • mandelbrot_simd

  • image_processing_simd

  • distance_computation_simd

  • kdtree_nearest_neighbor

Benchmark build optimization flags

  • すべての実験ディレクトリの Makefile で、GCC最適化オプションはデフォルトで -O3 です。
  • 環境変数 OPT_LEVEL で上書きできます(例: -O0, -O2, -Ofast)。
$ make -C dgemm clean execute_all OPT_LEVEL=-O0
$ make -C mandelbrot_simd clean run OPT_LEVEL=-O2
$ make -C kdtree_nearest_neighbor clean run OPT_LEVEL=-Ofast