Skip to content

Commit

Permalink
Enable autotuning in simple scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Oct 9, 2023
1 parent 8d81b65 commit 56dbb65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions fast/mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export DEVITO_MPI=1
unset DEVITO_ARCH
# Enable debug logging.
export DEVITO_LOGGING=DEBUG
# Disable (tile size) autotuning for iteration speed.
# I enable it sometimes; NB enabling it requires that no explicit tile size
# Enable (tile size) autotuning.
# I disable it for speed sometimes; NB enabling it requires that no explicit tile size
# is specified in the Operator constructor args.
unset DEVITO_AUTOTUNING
export DEVITO_AUTOTUNING="aggressive"

# Bind threads to physical cores
export OMP_PLACES=cores
Expand Down
6 changes: 3 additions & 3 deletions fast/openmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export DEVITO_LANGUAGE=openmp
export DEVITO_ARCH=cray
# Enable debug logging.
export DEVITO_LOGGING=DEBUG
# Disable (tile size) autotuning for iteration speed.
# I enable it sometimes; NB enabling it requires that no explicit tile size
# Enable (tile size) autotuning.
# I disable it for speed sometimes; NB enabling it requires that no explicit tile size
# is specified in the Operator constructor args.
unset DEVITO_AUTOTUNING
export DEVITO_AUTOTUNING="aggressive"

# Bind threads to physical cores
export OMP_PLACES=cores
Expand Down

0 comments on commit 56dbb65

Please sign in to comment.