Advertisement
Guest User

nbody-base-profile

a guest
Feb 18th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.91 KB | None | 0 0
  1. nbody-base-profile:
  2.   stage: profile
  3.   tags:
  4.     - oneapi
  5.   before_script:
  6.     # Adding en_US UTF-8 locale for Ubuntu docker
  7.     - apt-get install -y locales > /dev/null
  8.     - echo "en_US UTF-8" > /etc/locale.gen
  9.     - locale-gen en_US.UTF-8
  10.     - export LANG=en_US.UTF-8
  11.     - export LC_ALL=en_US.UTF-8
  12.   script:
  13.     - mkdir adv_prj
  14.  
  15.     # Running Offload Advisor
  16.     - advixe-python $APM/collect.py --config=gen9 ./adv_prj -c basic -- ./nbody/base/nbody $NBODY_ARGS
  17.     - advixe-python $APM/analyze.py --config=gen9 --set-parallel=GSimulation.cpp:103,GSimulation.cpp:129 ./adv_prj
  18.  
  19.     - mv ./adv_prj/perf_models/m0000 ./apm_prj
  20.  
  21.     # Running base version of nbody sample
  22.     - echo "BASE version running on CPU" | tee -a sample_run.log
  23.     - ./nbody/base/nbody $NBODY_ARGS | tee -a sample_run.log
  24.   artifacts:
  25.     paths:
  26.       - ./apm_prj
  27.       - ./sample_run.log
  28.   dependencies:
  29.     - nbody-base-build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement