[GRASS-git] [OSGeo/grass] a24714: r.texture: support parallel computing by OpenMP (#...

Chung-Yuan Liang noreply at github.com
Sat Jun 22 16:08:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: a24714ec1fcca3699d1b1d810c48ed5dac9f0bee
      https://github.com/OSGeo/grass/commit/a24714ec1fcca3699d1b1d810c48ed5dac9f0bee
  Author: Chung-Yuan Liang <77927944+cyliang368 at users.noreply.github.com>
  Date:   2024-06-22 (Sat, 22 Jun 2024)

  Changed paths:
    M raster/r.texture/Makefile
    A raster/r.texture/benchmark/benchmark_rtexture.py
    A raster/r.texture/benchmark/benchmark_rtexture_window.py
    M raster/r.texture/execute.c
    M raster/r.texture/execute.h
    M raster/r.texture/main.c
    M raster/r.texture/r.texture.html
    A raster/r.texture/r_texture_mapsize_efficiency.png
    A raster/r.texture/r_texture_mapsize_time.png
    A raster/r.texture/r_texture_window_efficiency.png
    A raster/r.texture/r_texture_window_time.png
    A raster/r.texture/testsuite/test_rtexture.py
    A raster/r.texture/testsuite/test_rtexture_parallel.py
    R raster/r.texture/testsuite/test_texture.py

  Log Message:
  -----------
  r.texture: support parallel computing by OpenMP (#3857)

* refactor to use local vars instead of global vars

* refactor to seperate execute part for parallelization

* remove unused variable

* divide h_mearsure.h into paired header files

* refactor parameters and flags in main.c

* remove unused variable 'threads' in main.c

* add execute_parallel.c

* parallelize execute, add tests and benchmarks

* rename test and benchmark files, integrate parallel part in execute.c

* Run benchmark on all methods

* get thread id only if OpenMP is defined

* replace omp firstprivate with omp private

* remove tid, and only use trow to aviod no OpenMP support situation

* add keyword "parallel" in main.c

* replace the list of functions with the -a flag in benchmark

* add benchmark for window sizes, plot speedup and efficiency

* remove basename list in benchmark, add benchmark results to html

* replace 'x' with '&#215' for window sizes in html

* breakdown long lines in html

* remove known issue in r.texture.html

* modify the formats and paths of figures



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list