From 84135593eb8576b59ac45dfc5a7df3d6d89ad0ea Mon Sep 17 00:00:00 2001 From: Marya Date: Tue, 5 Mar 2024 01:08:27 +0000 Subject: [PATCH] Update the OCK demo getting started guide and ock_demo workflows with updated linux nightly release and wget commands for the ock-demo artifacts --- .../actions/build_portBLAS_action/action.yml | 2 +- .../actions/build_portDNN_action/action.yml | 4 ++-- .../build_vgg_resnet_action/action.yml | 2 +- .github/workflows/run_ock_demo.yml | 17 ++++++------- .../ock_demo_blog/getting_started.md | 24 +++++++++++++------ 5 files changed, 30 insertions(+), 19 deletions(-) diff --git a/.github/actions/build_portBLAS_action/action.yml b/.github/actions/build_portBLAS_action/action.yml index 5f62f7bf8..3f8af6159 100644 --- a/.github/actions/build_portBLAS_action/action.yml +++ b/.github/actions/build_portBLAS_action/action.yml @@ -21,7 +21,7 @@ runs: - name: Get Intel OneAPI BaseToolkit shell: bash run: | - wget "https://github.com/intel/llvm/releases/download/nightly-2024-02-08/sycl_linux.tar.gz" + wget "https://github.com/intel/llvm/releases/download/nightly-2024-03-04/sycl_linux.tar.gz" mkdir linux_nightly_release tar -xzf sycl_linux.tar.gz -C linux_nightly_release diff --git a/.github/actions/build_portDNN_action/action.yml b/.github/actions/build_portDNN_action/action.yml index 1df679f0e..6061cbe53 100644 --- a/.github/actions/build_portDNN_action/action.yml +++ b/.github/actions/build_portDNN_action/action.yml @@ -25,9 +25,9 @@ runs: - name: Get Intel OneAPI Nightly Release shell: bash run: | - # Update the nightly release from intel/llvm from 2024-02-12 to daily once + # Update the nightly release from intel/llvm from 2024-03-04 to daily once # everything has stablised - wget "https://github.com/intel/llvm/releases/download/nightly-2024-02-12/sycl_linux.tar.gz" + wget "https://github.com/intel/llvm/releases/download/nightly-2024-03-04/sycl_linux.tar.gz" mkdir linux_nightly_release tar -xzf sycl_linux.tar.gz -C linux_nightly_release diff --git a/.github/actions/build_vgg_resnet_action/action.yml b/.github/actions/build_vgg_resnet_action/action.yml index f37bb4f90..388867505 100644 --- a/.github/actions/build_vgg_resnet_action/action.yml +++ b/.github/actions/build_vgg_resnet_action/action.yml @@ -30,7 +30,7 @@ runs: - name: Get Intel OneAPI Nightly Release shell: bash run: | - wget "https://github.com/intel/llvm/releases/download/nightly-2024-02-08/sycl_linux.tar.gz" + wget "https://github.com/intel/llvm/releases/download/nightly-2024-03-04/sycl_linux.tar.gz" mkdir linux_nightly_release tar -xzf sycl_linux.tar.gz -C linux_nightly_release diff --git a/.github/workflows/run_ock_demo.yml b/.github/workflows/run_ock_demo.yml index a24972805..1d594f04e 100644 --- a/.github/workflows/run_ock_demo.yml +++ b/.github/workflows/run_ock_demo.yml @@ -50,19 +50,20 @@ jobs: run: | ninja -C $(pwd)/build install - - name: Get Intel OneAPI BaseToolkit + - name: Get Intel OneAPI Nightly Release run: | - wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/bb99984f-370f-413d-bbec-38928d2458f2/l_dpcpp-cpp-compiler_p_2024.0.2.29.sh - export TERMINFO=/usr/lib/terminfo - sh $(pwd)/l_dpcpp-cpp-compiler_p_2024.0.2.29.sh -a --silent --eula accept - mv /home/runner/intel $(pwd) + # Update the nightly release from intel/llvm from 2024-03-04 to daily once + # everything has stablized + wget "https://github.com/intel/llvm/releases/download/nightly-2024-03-04/sycl_linux.tar.gz" + mkdir linux_nightly_release + tar -xzf sycl_linux.tar.gz -C linux_nightly_release - name: Test RSICV examples run: | # Set environment variables - export LD_LIBRARY_PATH=$(pwd)/install/lib:$(pwd)/intel/oneapi/compiler/2024.0/lib/libsycl.so:$(pwd)/intel/oneapi/compiler/2024.0/lib:$LD_LIBRARY_PATH - export CMAKE_CXX_COMPILER=$(pwd)/intel/oneapi/compiler/2024.0/bin/compiler/clang++ - export CMAKE_C_COMPILER=$(pwd)/intel/oneapi/compiler/2024.0/bin/compiler/clang + export LD_LIBRARY_PATH=$(pwd)/install/lib:$(pwd)/linux_nightly_release/lib:$LD_LIBRARY_PATH + export CMAKE_CXX_COMPILER=$(pwd)/linux_nightly_release/bin/clang++ + export CMAKE_C_COMPILER=$(pwd)/linux_nightly_release/bin/clang export CA_HAL_DEBUG=1 export CA_PROFILE_LEVEL=3 export ONEAPI_DEVICE_SELECTOR=opencl:fpga diff --git a/examples/technical_blogs/ock_demo_blog/getting_started.md b/examples/technical_blogs/ock_demo_blog/getting_started.md index 3a51d4e5a..ec7e48871 100644 --- a/examples/technical_blogs/ock_demo_blog/getting_started.md +++ b/examples/technical_blogs/ock_demo_blog/getting_started.md @@ -41,17 +41,27 @@ You'll need to extract the files from the archive file and and oneAPI nighlty re downloaded from `intel/llvm`: ```sh - # TODO: Add wget commands for ock_build_artifacts, ock_demo_components and network_artifacts. mkdir Release cd Release - tar -xf ../ock_demo_artifacts.tar.gz - tar -xf ../ock_demo_components.tar.gz - tar -xf ../network_artifacts.tar.gz - # As of the current documentation, the latest nightly release available is dated 2024-01-30. - wget "https://github.com/intel/llvm/releases/download/nightly-2024-01-30/sycl_linux.tar.gz" + + # As the current documentation, the latest ock-demo artifacts available is dated 2024-02-29. + wget https://github.com/codeplaysoftware/oneapi-construction-kit/releases/download/ock-demo-2024-02-29-f0588da/ock_demo_artifacts.tar.gz + wget https://github.com/codeplaysoftware/oneapi-construction-kit/releases/download/ock-demo-2024-02-29-f0588da/ock_demo_components.tar.gz + wget https://github.com/codeplaysoftware/oneapi-construction-kit/releases/download/ock-demo-2024-02-29-f0588da/network_artifacts.tar.gz + + tar -xf ock_demo_artifacts.tar.gz + tar -xf ock_demo_components.tar.gz + # ock_demo_components comprises of portBLAS.tar.gz and portDNN.tar.gz + tar -xf portBLAS.tar.gz + tar -xf portDNN.tar.gz + tar -xf network_artifacts.tar.gz + + # As of the current documentation, the latest nightly release available is dated 2024-03-04. + wget "https://github.com/intel/llvm/releases/download/nightly-2024-03-04/sycl_linux.tar.gz" mkdir linux_nightly_release tar -xzf sycl_linux.tar.gz -C linux_nightly_release - rm sycl_linux.tar.gz + rm sycl_linux.tar.gz ock_demo_artifacts.tar.gz ock_demo_components.tar.gz network_artifacts.tar.gz portBLAS_build.tar.gz portDNN_build.tar.gz + export RELEASE_DIR=$PWD ```