diff --git a/.github/workflows/ur-build-hw.yml b/.github/workflows/ur-build-hw.yml index 717fab99da246..166c7dc4da312 100644 --- a/.github/workflows/ur-build-hw.yml +++ b/.github/workflows/ur-build-hw.yml @@ -170,7 +170,7 @@ jobs: - name: Build # This is so that device binaries can find the sycl runtime library - run: cmake --build build -j $(nproc) + run: cmake --build build -j $(($(nproc)/2)) - name: Install # This is to check that install command does not fail @@ -182,7 +182,7 @@ jobs: LIT_OPTS: "--timeout 120" # These tests cause timeouts on CI LIT_FILTER_OUT: "(adapters/level_zero/memcheck.test|adapters/level_zero/v2/deferred_kernel_memcheck.test)" - run: cmake --build build -j $(nproc) -- check-unified-runtime-adapter + run: cmake --build build -j $(($(nproc)/2)) -- check-unified-runtime-adapter # Don't run adapter specific tests when building multiple adapters if: ${{ matrix.adapter.other_name == '' }} @@ -190,7 +190,7 @@ jobs: env: ZE_ENABLE_LOADER_DEBUG_TRACE: 1 LIT_OPTS: "--timeout 120" - run: cmake --build build -j $(nproc) -- check-unified-runtime-conformance + run: cmake --build build -j $(($(nproc)/2)) -- check-unified-runtime-conformance - name: Get information about platform if: ${{ always() }} diff --git a/.github/workflows/ur-build-offload.yml b/.github/workflows/ur-build-offload.yml index 7adb2afa3ab0d..9d756ecbcbcd0 100644 --- a/.github/workflows/ur-build-offload.yml +++ b/.github/workflows/ur-build-offload.yml @@ -43,7 +43,7 @@ jobs: - name: Build # This is so that device binaries can find the sycl runtime library - run: cmake --build $GITHUB_WORKSPACE/build -j $(nproc) + run: cmake --build $GITHUB_WORKSPACE/build -j $(($(nproc)/2)) - name: Install # This is to check that install command does not fail diff --git a/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp b/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp index 088510db822be..de165075a753f 100644 --- a/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp +++ b/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp @@ -1165,6 +1165,8 @@ ur_result_t ur_command_list_manager::appendKernelLaunchWithArgsExpOld( return UR_RESULT_SUCCESS; } +/* TOUCH TO REBUILD */ + ur_result_t ur_command_list_manager::appendKernelLaunchWithArgsExpNew( ur_kernel_handle_t hKernel, uint32_t workDim, const size_t *pGlobalWorkOffset, const size_t *pGlobalWorkSize,