Skip to content

Commit

Permalink
Update from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 6, 2024
0 parents commit 3fbe216
Show file tree
Hide file tree
Showing 1,444 changed files with 96,610 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Intel Corporation
#
# SPDX-License-Identifier: BSD-3-Clause

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
117 changes: 117 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# SPDX-FileCopyrightText: Intel Corporation
#
# SPDX-License-Identifier: BSD-3-Clause

on:
push:
branches:
- main
pull_request:

env:
SPHINXOPTS: -q -W

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install -r requirements.txt
- name: Checks
run: |
pre-commit run --all
clang:
runs-on: ubuntu-latest
env:
CXX: clang++
steps:
- uses: actions/checkout@v3
- name: Build & test
run: |
#source /opt/intel/oneapi/setvars.sh
cmake -B build
make -j -C build all test
- uses: actions/upload-artifact@v3
with:
name: log-clang-${{ env.CXX }}
path: build/Testing

gcc:
runs-on: ubuntuy-latest
strategy:
fail-fast: false
matrix:
include:
- cxx: g++-10
- cxx: g++-11
- cxx: g++-12
name: ${{ matrix.cxx }}
env:
CXX: ${{ matrix.cxx }}
steps:
- uses: actions/checkout@v3
- name: Build & test
run: |
#source /opt/intel/oneapi/setvars.sh
cmake -B build
make -j -C build all test
cmake -B build-nofmt
make -j -C build-nofmt/examples/cpu all test
- uses: actions/upload-artifact@v3
with:
name: log-gcc-${{ env.CXX }}
path: build/Testing

icpx:
runs-on: ubuntu-latest
env:
CXX: icpx
steps:
- uses: actions/checkout@v3
- name: Build & test
run: |
#source /opt/intel/oneapi/setvars.sh
cmake -B build -DENABLE_SYCL_MPI=on
make -j -C build all test
- uses: actions/upload-artifact@v3
with:
name: log-icpx-${{ env.CXX }}
path: build/Testing

publish:
needs: [checks, clang, gcc, icpx]
runs-on: dds-base
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install -r requirements.txt
- name: Build doc
run: |
make -C doc/spec html
- name: Checkout gh-pages
uses: actions/checkout@v3
with:
ref: gh-pages
path: gh-pages
- name: Publish to github pages
run: |
rm -rf gh-pages/*
touch gh-pages/.nojekyll
cp -r doc/spec/build/html gh-pages/spec
cp -r doc/spec/build/doxygen-html gh-pages/doxygen
cd gh-pages
git config user.name github-actions
git config user.email [email protected]
git add .
# Ignore errors because no updates returns an error status.
git commit --reset-author --amend -m "Update from github actions"
git push --force origin gh-pages
Empty file added .nojekyll
Empty file.
60 changes: 60 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SPDX-FileCopyrightText: Intel Corporation
#
# SPDX-License-Identifier: BSD-3-Clause

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.4
hooks:
- id: clang-format

- repo: https://github.com/ambv/black
rev: 22.10.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-xml
- id: check-yaml
- id: check-case-conflict
- id: check-toml
- id: check-json
- id: check-added-large-files
args: ['--maxkb=800']

- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8

- repo: https://github.com/pycqa/doc8
rev: v1.0.0
hooks:
- id: doc8

- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort

- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse

- repo: local
hooks:
- id: sphinx
name: sphinx
entry: make -C doc/spec spelling linkcheck html
language: system
pass_filenames: false
always_run: true
134 changes: 134 additions & 0 deletions bench/devcloud/dr-bench-05ae8920514c49deb09dee3d94648622.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"context": {
"date": "2023-12-01T02:48:36-08:00",
"host_name": "idc-beta-batch-pvc-node-13",
"executable": "mhp/mhp-bench",
"num_cpus": 224,
"mhz_per_cpu": 3800,
"cpu_scaling_enabled": false,
"caches": [
{
"type": "Data",
"level": 1,
"size": 49152,
"num_sharing": 2
},
{
"type": "Instruction",
"level": 1,
"size": 32768,
"num_sharing": 2
},
{
"type": "Unified",
"level": 2,
"size": 2097152,
"num_sharing": 2
},
{
"type": "Unified",
"level": 3,
"size": 110100480,
"num_sharing": 112
}
],
"load_avg": [2.06689,2.31787,24.0571],
"library_build_type": "debug",
"default_repetitions": "50",
"default_vector_size": "6000000000",
"device": "GPU",
"device_info": "Intel(R) Data Center GPU Max 1100, max_compute_units: 448",
"hostname": "idc-beta-batch-pvc-node-13\n",
"lscpu": "Architecture: x86_64\nCPU op-mode(s): 32-bit, 64-bit\nAddress sizes: 52 bits physical, 57 bits virtual\nByte Order: Little Endian\nCPU(s): 224\nOn-line CPU(s) list: 0-223\nVendor ID: GenuineIntel\nModel name: Intel(R) Xeon(R) Platinum 8480+\nCPU family: 6\nModel: 143\nThread(s) per core: 2\nCore(s) per socket: 56\nSocket(s): 2\nStepping: 8\nCPU max MHz: 3800.0000\nCPU min MHz: 800.0000\nBogoMIPS: 4000.00\nFlags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities\nVirtualization: VT-x\nL1d cache: 5.3 MiB (112 instances)\nL1i cache: 3.5 MiB (112 instances)\nL2 cache: 224 MiB (112 instances)\nL3 cache: 210 MiB (2 instances)\nNUMA node(s): 2\nNUMA node0 CPU(s): 0-55,112-167\nNUMA node1 CPU(s): 56-111,168-223\nVulnerability Gather data sampling: Not affected\nVulnerability Itlb multihit: Not affected\nVulnerability L1tf: Not affected\nVulnerability Mds: Not affected\nVulnerability Meltdown: Not affected\nVulnerability Mmio stale data: Not affected\nVulnerability Retbleed: Not affected\nVulnerability Spec rstack overflow: Not affected\nVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp\nVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence\nVulnerability Srbds: Not affected\nVulnerability Tsx async abort: Not affected\n",
"model": "MHP",
"numactl": "",
"rank": "0",
"ranks": "3",
"runtime": "SYCL",
"target": "MHP_SYCL_GPU",
"weak-scaling": "1"
},
"benchmarks": [
{
"name": "Reduce_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"family_index": 0,
"per_family_instance_index": 0,
"run_name": "Reduce_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 5.6165553901350177e+02,
"cpu_time": 5.6165532700000040e+02,
"time_unit": "ms",
"bytes_per_second": 2.1365408451373840e+12,
"footprint": 8.0000000000000000e+09
},
{
"name": "DotProduct_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"family_index": 1,
"per_family_instance_index": 0,
"run_name": "DotProduct_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 2.3608734270749260e+03,
"cpu_time": 2.3596445299999968e+03,
"time_unit": "ms",
"bytes_per_second": 2.0331458454963010e+12,
"footprint": 3.2000000000000000e+10
},
{
"name": "Inclusive_Scan_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"family_index": 2,
"per_family_instance_index": 0,
"run_name": "Inclusive_Scan_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 5.1467817188989820e+03,
"cpu_time": 5.1372696359999918e+03,
"time_unit": "ms",
"bytes_per_second": 4.6631081928094995e+11,
"footprint": 1.6000000000000000e+10
},
{
"name": "WaveEquation_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"family_index": 3,
"per_family_instance_index": 0,
"run_name": "WaveEquation_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 9.2316018368905516e+03,
"cpu_time": 9.0834726950000113e+03,
"time_unit": "ms",
"bytes_per_second": 1.1814815513449133e+12,
"flops": 2.1933444641304083e+09,
"footprint": 3.5996591616000000e+10
},
{
"name": "Stencil2D_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"family_index": 4,
"per_family_instance_index": 0,
"run_name": "Stencil2D_DR/min_time:0.100/min_warmup_time:0.100/real_time",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 5.1385008794861028e+02,
"cpu_time": 5.1266339400000049e+02,
"time_unit": "ms",
"bytes_per_second": 1.8682491693881130e+12,
"footprint": 3.2000000000000000e+10
}
]
}
Loading

0 comments on commit 3fbe216

Please sign in to comment.