Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nbody-base-profile:
- stage: profile
- tags:
- - oneapi
- before_script:
- # Adding en_US UTF-8 locale for Ubuntu docker
- - apt-get install -y locales > /dev/null
- - echo "en_US UTF-8" > /etc/locale.gen
- - locale-gen en_US.UTF-8
- - export LANG=en_US.UTF-8
- - export LC_ALL=en_US.UTF-8
- script:
- - mkdir adv_prj
- # Running Offload Advisor
- - advixe-python $APM/collect.py --config=gen9 ./adv_prj -c basic -- ./nbody/base/nbody $NBODY_ARGS
- - advixe-python $APM/analyze.py --config=gen9 --set-parallel=GSimulation.cpp:103,GSimulation.cpp:129 ./adv_prj
- - mv ./adv_prj/perf_models/m0000 ./apm_prj
- # Running base version of nbody sample
- - echo "BASE version running on CPU" | tee -a sample_run.log
- - ./nbody/base/nbody $NBODY_ARGS | tee -a sample_run.log
- artifacts:
- paths:
- - ./apm_prj
- - ./sample_run.log
- dependencies:
- - nbody-base-build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement