Skip to content

Commit

Permalink
Merge branch 'release-2.11.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
johguenther committed Mar 8, 2023
2 parents fdda088 + 97f993f commit cdb39c8
Show file tree
Hide file tree
Showing 638 changed files with 74,835 additions and 62,589 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.rc text working-tree-encoding=UTF-16LE-BOM eol=CRLF
glfw.patch eol=lf
56 changes: 56 additions & 0 deletions .github/workflows/baseline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
## Copyright 2009 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

name: Baseline

on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

### BUILD JOBS ###

build-ubuntu2004-gcc:
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
secrets: inherit
with:
force-delete: true # guarantees .gitattributes are respected in working dir
image: ubuntu:20.04
cmd: |
scripts/build/linux.sh -G Ninja -DBUILD_GLFW=OFF -DBUILD_OSPRAY_MODULE_MULTIDEVICE=ON
artifact-out: build-ubuntu2004-gcc
artifact-path: build/install/ospray build/CMakeCache.txt build/*/build/CMakeCache.txt

### Benchmarks ###

generate-ci-baseline-avx2:
needs: build-ubuntu2004-gcc
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: ubuntu:20.04
runs-on: '["Linux", "avx2"]'
cmd: |
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build/install/ospray/lib:$LD_LIBRARY_PATH
export PATH=$GITHUB_WORKSPACE/build/install/ospray/bin:$PATH
scripts/tests/generate_baseline.sh
artifact-in: build-ubuntu2004-gcc
artifact-out: generate-ci-baseline-avx2
artifact-path: generated_test_images

generate-ci-baseline-avx512skx:
needs: build-ubuntu2004-gcc
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: ubuntu:20.04
cmd: |
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build/install/ospray/lib:$LD_LIBRARY_PATH
export PATH=$GITHUB_WORKSPACE/build/install/ospray/bin:$PATH
scripts/tests/generate_baseline.sh
artifact-in: build-ubuntu2004-gcc
artifact-out: generate-ci-baseline-avx512skx
artifact-path: generated_test_images

66 changes: 66 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
## Copyright 2009 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

name: Benchmark

on:
schedule:
- cron: '30 0 * * *'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

### BUILD JOBS ###

build-centos8:
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
secrets: inherit
with:
force-delete: true # guarantees .gitattributes are respected in working dir
image: centos:8
cmd: |
scripts/build/linux.sh -G Ninja
artifact-out: build-centos8
artifact-path: build/install/ospray build/CMakeCache.txt build/*/build/CMakeCache.txt

### Benchmarks ###

benchmark-x8280-1:
needs: build-centos8
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-x8280-1"]'
cmd: |
scripts/tests/run-benchmarks.sh
artifact-in: build-centos8

benchmark-x8380-1:
needs: build-centos8
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-x8380-1"]'
cmd: |
scripts/tests/run-benchmarks.sh
artifact-in: build-centos8

benchmark-a-1:
needs: build-centos8
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-a3970x-1"]'
cmd: |
scripts/tests/run-benchmarks.sh
artifact-in: build-centos8

benchmark-adl-1:
needs: build-centos8
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-i9-12900k-1"]'
cmd: |
scripts/tests/run-benchmarks.sh
artifact-in: build-centos8
104 changes: 104 additions & 0 deletions .github/workflows/ci.linux.gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
## Copyright 2022 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

name: CI Linux GPU Workflow

on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

### BUILD JOBS ###

build-ubuntu2204-DG2-JIT:
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker_gpu.yml@main
secrets: inherit
with:
force-delete: true # guarantees .gitattributes are respected in working dir
gfx-driver-version: neo-builds/ci/master/ci-neo-master-025731/artifacts/linux/ubuntu/22.04
dpcpp-version: sycl-nightly/20221214
install-gfx-driver: true
submodules: true
image: ubuntu:22.04
cmd: |
export SYCL_BUNDLE_ROOT=$DPCPP_ROOT
export CC=clang
export CXX=clang++
scripts/build/linux.sh -G Ninja -DBUILD_GLFW=OFF -DBUILD_OSPRAY_MODULE_MULTIDEVICE=OFF -DBUILD_GPU_SUPPORT=ON -DOPENVKL_URL=https://${RENDERKIT_GITHUB_TOKEN}@github.com/intel-innersource/libraries.graphics.renderkit.openvkl.git -DOPENVKL_BRANCH=gpu-devel
artifact-out: build-ubuntu2204-DG2-JIT
artifact-path: build/install/ospray build/install/embree build/CMakeCache.txt build/*/build/CMakeCache.txt

build-ubuntu2204-DG2-JIT-mpi:
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker_gpu.yml@tgt/support_oneapi_icx
secrets: inherit
with:
force-delete: true # guarantees .gitattributes are respected in working dir
gfx-driver-version: neo-builds/ci/master/ci-neo-master-025731/artifacts/linux/ubuntu/22.04
dpcpp-version: intel/2023.0
install-gfx-driver: true
submodules: true
image: ubuntu:22.04
cmd: |
sudo apt remove openmpi-* libopenmpi3 -y
module load level-zero/1.9.4
module load mpi
export CC=icx
export CXX=icpx
scripts/build/linux.sh -G Ninja -DBUILD_GLFW=OFF -DBUILD_OSPRAY_MODULE_MPI=ON -DBUILD_OSPRAY_MODULE_MULTIDEVICE=OFF -DBUILD_GPU_SUPPORT=ON -DOPENVKL_URL=https://${RENDERKIT_GITHUB_TOKEN}@github.com/intel-innersource/libraries.graphics.renderkit.openvkl.git -DOPENVKL_BRANCH=gpu-devel
artifact-out: build-ubuntu2204-DG2-JIT-mpi
artifact-path: build/install/ospray build/install/embree build/CMakeCache.txt build/*/build/CMakeCache.txt

### TEST JOBS ###

test-ubuntu2204-DG2-JIT:
needs: [build-ubuntu2204-DG2-JIT]
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker_gpu.yml@main
secrets: inherit
with:
gfx-driver-version: neo-builds/ci/master/ci-neo-master-025731/artifacts/linux/ubuntu/22.04
dpcpp-version: sycl-nightly/20221214
install-gfx-driver: true
submodules: true
image: ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "dg2" ]'
artifact-in: build-ubuntu2204-DG2-JIT
artifact-out: test-ubuntu2204-DG2-JIT
artifact-path: build_regression_tests/tests*.xml build_regression_tests/failed*
artifact-on-failure: true
cmd: |
export SYCL_BUNDLE_ROOT=$DPCPP_ROOT
export CC=clang
export CXX=clang++
export LD_LIBRARY_PATH="$GITHUB_WORKSPACE/build/install/ospray/lib:$GITHUB_WORKSPACE/build/install/embree/lib:$LD_LIBRARY_PATH"
export PATH="$GITHUB_WORKSPACE/build/install/ospray/bin:$PATH"
scripts/tests/run_gpu_tests.sh "$GITHUB_WORKSPACE"
test-ubuntu2204-DG2-JIT-mpi:
needs: [build-ubuntu2204-DG2-JIT-mpi]
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker_gpu.yml@tgt/support_oneapi_icx
secrets: inherit
with:
gfx-driver-version: neo-builds/ci/master/ci-neo-master-025731/artifacts/linux/ubuntu/22.04
dpcpp-version: intel/2023.0
install-gfx-driver: true
submodules: true
image: ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "dg2" ]'
artifact-in: build-ubuntu2204-DG2-JIT-mpi
artifact-out: test-ubuntu2204-DG2-JIT-mpi
artifact-path: build_regression_tests/tests*.xml build_regression_tests/failed*
artifact-on-failure: true
cmd: |
sudo apt remove openmpi-* libopenmpi3 -y
module load level-zero/1.9.4
module load mpi
export LD_LIBRARY_PATH="$GITHUB_WORKSPACE/build/install/ospray/lib:$GITHUB_WORKSPACE/build/install/embree/lib:$LD_LIBRARY_PATH"
export PATH="$GITHUB_WORKSPACE/build/install/ospray/bin:$PATH"
scripts/tests/run_gpu_tests.sh "$GITHUB_WORKSPACE" TEST_MPI
Loading

0 comments on commit cdb39c8

Please sign in to comment.