We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec3483 commit daa58e2Copy full SHA for daa58e2
ggml/src/ggml-webgpu/CMakeLists.txt
@@ -36,7 +36,7 @@ ggml_add_backend_library(ggml-webgpu
36
37
add_dependencies(ggml-webgpu generate_shaders)
38
39
-if(CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
+if(EMSCRIPTEN)
40
set(EMDAWNWEBGPU_DIR "" CACHE PATH "Path to emdawnwebgpu_pkg")
41
42
target_compile_options(ggml-webgpu PRIVATE "--use-port=${EMDAWNWEBGPU_DIR}/emdawnwebgpu.port.py")
0 commit comments