From 936a592e18431c279e6c5952a278d012d18ff295 Mon Sep 17 00:00:00 2001 From: Jerin Philip Date: Tue, 4 May 2021 21:14:51 +0000 Subject: [PATCH] Using WASM compatible BLAS can enable intgemm --- .github/workflows/native-mac.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/native-mac.yml b/.github/workflows/native-mac.yml index 34cb9fa..596d31a 100644 --- a/.github/workflows/native-mac.yml +++ b/.github/workflows/native-mac.yml @@ -19,6 +19,8 @@ jobs: CMAKE_BUILD_TYPE: "Release" COMPILE_TESTS: "ON" USE_WASM_COMPATIBLE_SOURCE: "OFF" + # We need WASM compatible BLAS to activate some intgemm + backend. + USE_WASM_COMPATIBLE_BLAS: "ON" USE_FBGEMM: "OFF" USE_STATIC_LIBS: "OFF" COMPILE_SERVER: "OFF" @@ -32,6 +34,7 @@ jobs: CMAKE_BUILD_TYPE: "Release" COMPILE_TESTS: "OFF" # Minimal marian has no sqlite support and compile tests fail USE_WASM_COMPATIBLE_SOURCE: "ON" + USE_WASM_COMPATIBLE_BLAS: "ON" USE_FBGEMM: "OFF" # explicitly set due to requirement of minimal marian being used # within WASM. This is some yaml ugliness, but issok. @@ -68,6 +71,7 @@ jobs: -DCOMPILE_SERVER=${{ matrix.cmake.COMPILE_SERVER }} \ -DUSE_STATIC_LIBS=${{ matrix.cmake.USE_STATIC_LIBS }} \ -DUSE_WASM_COMPATIBLE_SOURCE=${{ matrix.cmake.USE_WASM_COMPATIBLE_SOURCE }} \ + -DUSE_WASM_COMPATIBLE_BLAS=${{ matrix.cmake.USE_WASM_COMPATIBLE_BLAS }} \ -DUSE_APPLE_ACCELERATE=${{ matrix.cmake.USE_APPLE_ACCELERATE }} \ -DUSE_FBGEMM=${{ matrix.cmake.USE_FBGEMM }}