From 548a170c108003d0dc37e8099e928fa5d16c0495 Mon Sep 17 00:00:00 2001 From: Sergey Maydanov Date: Tue, 18 Apr 2023 15:04:15 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a188de..a98cbec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -262,6 +262,14 @@ jobs: run: | SET "TEST_DEPENDENCIES=pytest pytest-cov" conda install -n test-env ${{ env.PACKAGE_NAME }} %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} + - name: Configure Intel OpenCL CPU RT + shell: pwsh + run: | + $script_path="$env:CONDA_PREFIX\Scripts\set-intel-ocl-icd-registry.ps1" + &$script_path + # Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default + $cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg" + Get-Content -Tail 5 -Path $cl_cfg - name: Run tests (numpy) shell: cmd /C CALL {0} run: >-