Make CommandEncoder thread local (#3348)

This commit is contained in:
Cheng
2026-04-01 18:42:49 +09:00
committed by GitHub
parent 1c9ee2f655
commit 5e2c44259f
7 changed files with 75 additions and 31 deletions
+5 -3
View File
@@ -45,15 +45,17 @@ runs:
cd build
cmake ..
make -j $(sysctl -n hw.ncpu)
- name: Run CPP tests
shell: bash -l {0}
env:
DEVICE: gpu
METAL_DEVICE_WRAPPER_TYPE: 1
METAL_DEBUG_ERROR_MODE: 0
run: ./build/tests/tests
run: |
./build/tests/tests
./build/tests/test_teardown
- name: Build small binary with JIT
shell: bash -l {0}
run: |
+1
View File
@@ -17,4 +17,5 @@ runs:
run: |
echo "::group::CPP tests - CPU"
./build/tests.exe -tce="*gguf*,test random uniform"
./build/test_teardown.exe
echo "::endgroup::"