From be2a020e5159265377de1602e5e613242a5d4861 Mon Sep 17 00:00:00 2001 From: Colin Davidson Date: Wed, 30 Oct 2024 12:14:24 +0000 Subject: [PATCH] Added a comment to gather current workflow timings --- .github/workflows/run_pr_tests.yml | 1 + clik/external/hal_cpu/source/cpu_hal.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_pr_tests.yml b/.github/workflows/run_pr_tests.yml index b14e138b4..c84752cfe 100644 --- a/.github/workflows/run_pr_tests.yml +++ b/.github/workflows/run_pr_tests.yml @@ -22,6 +22,7 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +# added a comment here to force a workflow run. jobs: # build and run host x86_64, execute UnitCL and lit tests and build and run offline diff --git a/clik/external/hal_cpu/source/cpu_hal.cpp b/clik/external/hal_cpu/source/cpu_hal.cpp index 2f756ee1e..bb859b9b3 100644 --- a/clik/external/hal_cpu/source/cpu_hal.cpp +++ b/clik/external/hal_cpu/source/cpu_hal.cpp @@ -314,8 +314,8 @@ bool cpu_hal::kernel_exec(hal::hal_program_t program, hal::hal_kernel_t kernel, size_t num_threads = work_group_size; #else #error HAL_CPU_MODE must be HAL_CPU_MODE_WG or HAL_CPU_MODE_WI. -#endif - +#endif + printf("Num threads = %d\n", (int) num_threads); std::vector exec_for_thread(num_threads); exec.num_threads = num_threads; for (size_t thread_id = 0; thread_id < num_threads; thread_id++) {