Skip to content

serihiro/optimization_experiments

Repository files navigation

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

About

C code snippets of matrix and vector calculation optimization experiments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors