- Ensure that
acpp
is in the path; for comparing to native model performance, native compilers (nvcc
,hipcc
,icpx
) need to be in path as well. - Run
bash ./build-bude.sh; bash ./build-cloverleaf.sh; bash ./build-hecbench.sh
- Configure environment variables:
- Set
ACPP_VISIBILITY_MASK
to expose only your target backend. Foricpx
, setSYCL_DEVICE_ALLOWLIST
. - Set
RESULT_SUFFIX
to some identifier of your benchmark run (e.g. hardware). Result files will be placed in the directoryresults-$APP_NAME-$RESULT_SUFFIX
- For weaker hardware (e.g. iGPU or CPU), consider setting
SMALL_PROBLEM=1
.
- Set
- Run benchmarks:
bash ./run-bude.sh
. SetAPP_DEVICE
environment variable to configure the AdaptiveCpp SYCL device index that should be picked.bash ./run-cloverleaf.sh
. SetAPP_DEVICE
environment variable to configure the AdaptiveCpp SYCL device index that should be pickedbash ./run-hecbench.sh
. SetAPP_DEVICE=0
to run on CPU, otherwise a GPU will be picked.
-
Notifications
You must be signed in to change notification settings - Fork 0
illuhad/benchmark-scripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published