diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c966fb28a5..5ce85ea1b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -913,8 +913,6 @@ jobs: mesa: ${{ matrix.backend == 'lvp' && 'true' }} - name: Set env run: printf "${{ matrix.backend == 'llvm' && 'CPU=1\nCPU_LLVM=1' || matrix.backend == 'cpu' && 'CPU=1\nCPU_LLVM=0\nCPU_COUNT=2' || matrix.backend == 'metal' && 'METAL=1' || matrix.backend == 'lvp' && 'CPU=1\nCPU_LVP=1' }}" >> $GITHUB_ENV - - name: find tinymesa? - run: python -c "import ctypes.util; print(ctypes.util.find_library('tinymesa_cpu'))" - name: Check Device.DEFAULT and print some source run: | python -c "from tinygrad import Device; assert Device.DEFAULT == {'LLVM':'CPU','LVP':'CPU'}.get(x:='${{ matrix.backend }}'.upper(), x), Device.DEFAULT" diff --git a/autogen_stubs.sh b/autogen_stubs.sh index a99a917011..49d93c02b8 100755 --- a/autogen_stubs.sh +++ b/autogen_stubs.sh @@ -523,7 +523,7 @@ generate_mesa() { echo "lvp_nir_options = gzip.decompress(base64.b64decode('$LVP_NIR_OPTIONS'))" >> $BASE/mesa.py cat <