Skip to content

Commit 8c0eea2

Browse files
cjpaisclaude
andcommitted
diag(B): test OpenMP-ON hypothesis for the MSVC barrier deadlock
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4f5f133 commit 8c0eea2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/diag-b.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,16 @@ jobs:
7070
# both transcribe and ggml frames. advapi32 for ggml-cpu's registry
7171
# CPU probe (the static consumer must pull it; F is fixed so the
7272
# header no longer forces dllimport).
73+
# HYPOTHESIS TEST: OpenMP ON -> ggml uses `#pragma omp barrier` instead
74+
# of its custom spin-barrier (which deadlocks under MSVC). MSVC
75+
# auto-links vcomp, so the GNU/Clang -fopenmp propagation issue that
76+
# forced OpenMP off (f35e899) does not apply here.
7377
cmake -B build-diag -G Ninja `
7478
-DCMAKE_BUILD_TYPE=Release `
7579
"-DCMAKE_C_FLAGS=/Z7" "-DCMAKE_CXX_FLAGS=/Z7" `
7680
"-DCMAKE_EXE_LINKER_FLAGS=/DEBUG advapi32.lib" `
7781
-DTRANSCRIBE_BUILD_REAL_MODEL_TESTS=ON `
78-
-DTRANSCRIBE_USE_OPENMP=OFF
82+
-DTRANSCRIBE_USE_OPENMP=ON
7983
if ($LASTEXITCODE -ne 0) { throw "cmake configure failed" }
8084
cmake --build build-diag --target transcribe_whisper_e2e_smoke -j
8185
if ($LASTEXITCODE -ne 0) { throw "cmake build failed" }

0 commit comments

Comments
 (0)