Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@
[submodule "microbenchmarks/spatter"]
path = microbenchmarks/spatter
url = git@github.com:lanl/spatter.git
[submodule "utils/pav_config/suites/spatter/src"]
path = utils/pav_config/suites/spatter/src
url = git@github.com:hpcgarage/spatter.git
1 change: 1 addition & 0 deletions utils/pav_config/suites/spatter/src
Submodule src added at ec8923
106 changes: 106 additions & 0 deletions utils/pav_config/suites/spatter/suite.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
_base:
maintainer:
name: Hank Wikle
email: hwikle@lanl.gov

summary: Benchmark for measuring the performance of sparse and irregular memory access.

variables:
pattern_params:
type: UNIFORM
length: 8
jump_size: 1
pattern: "{{pattern_params.type}}:{{pattern_params.length}}:{{pattern_params.jump_size}}"
num_gathers: 48

schedule:
qos: debug
partition: debug
reservation: debug
nodes: 2

build:
purge_modules: True

modules:
- cpe/23.12
- cmake

cmds:
- "cd src"
- "cmake {{ cmake_opts }} -B build_{{ backend }} -S ."
- "cd build_{{ backend }}"
- "make -j 8"

run:
purge_modules: True

modules:
- cpe/23.12

cmds:
- "cd src/build_{{ backend }}"
- "./spatter -p{{ pattern }} -l{{ num_gathers }}"

serial:
inherits_from: _base

build:
modules+:
- gcc

run:
modules+:
- gcc

variables:
backend: serial
cmake_opts: ""

result_parse:
split:
"_, bytes, time, bandwidth":
preceded_by: "^config"

openmp_mpi:
inherits_from: _base

build:
modules+:
- gcc
- "{{ mpis }}"

run:
modules+:
- gcc
- "{{ mpis }}"

variables:
backend: openmp_mpi
cmake_opts: -DUSE_OPENMP=1 -DUSE_MPI=1

result_parse:
split:
"_, avg_bytes, total_bytes, avg_time, avg_bandwidth, total_bandwidth":
preceded_by: "^config"

cuda:
inherits_from: _base

only_if:
"{{ sys_name }}": [venado, venadito]

build:
modules+:
- cudatoolkit

variables:
backend: cuda
cmake_opts: -DUSE_CUDA=1

_debug:
inherits_from: _base

variables:
backend: serial
cmake_opts: -DCMAKE_BUILD_TYPE=Debug