64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
## Copyright 2009-2021 Intel Corporation
|
|
## SPDX-License-Identifier: Apache-2.0
|
|
|
|
variables:
|
|
COMMON: "platform:x64 compiler:dpcpp ispc:ispc1.16.1 isa:SSE2 tasking:TBB2019.9"
|
|
# Retry mechanism knobs in case of sporadic errors
|
|
GET_SOURCES_ATTEMPTS: 10
|
|
ARTIFACT_DOWNLOAD_ATTEMPTS: 10
|
|
EXECUTOR_JOB_SECTION_ATTEMPTS: 3
|
|
|
|
|
|
####################################################################
|
|
# Stages
|
|
####################################################################
|
|
|
|
stages:
|
|
- benchmark
|
|
|
|
|
|
####################################################################
|
|
# Preliminary benchmark setup
|
|
####################################################################
|
|
|
|
.benchmark:
|
|
stage: benchmark
|
|
tags:
|
|
- vis-perf-x8280-1
|
|
script:
|
|
- "scripts/test.py configure platform:x64 build:Release compiler:GCC ispc:ispc1.17.0 isas:AVX512 tasking:TBB2021.2.0 intensity:0 EMBREE_USE_GOOGLE_BENCHMARK:ON EMBREE_GOOGLE_BENCHMARK_DIR:/NAS/packages/apps/google-benchmark/vis-perf-x8280-1/lib64/cmake/benchmark"
|
|
- "scripts/test.py build"
|
|
- "scripts/test.py test"
|
|
- "scripts/test.py run-benchmark.sh"
|
|
needs: []
|
|
|
|
benchmark_nightly:
|
|
extends: .benchmark
|
|
only: [web, schedules]
|
|
|
|
benchmark_manual:
|
|
extends: .benchmark
|
|
except: [schedules]
|
|
when: manual
|
|
|
|
.benchmark_gpu:
|
|
stage: benchmark
|
|
image: $DOCKER_REGISTRY/embree/ubuntu:20.04
|
|
tags: [docker-gpu, dg2, perf]
|
|
before_script:
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
script:
|
|
- "scripts/run-benchmark-gpu.sh"
|
|
- "scripts/record-benchmark-gpu.sh"
|
|
needs: []
|
|
|
|
benchmark_gpu_nightly:
|
|
extends: .benchmark_gpu
|
|
only: [schedules]
|
|
|
|
benchmark_gpu_manual:
|
|
extends: .benchmark_gpu
|
|
except: [schedules]
|
|
when: manual
|
|
|