onnxruntime/cmake
Yulong Wang 054464dce2
fix XNNPACK on WebAssembly SIMD (#13161)
### Description

fix XNNPACK on WebAssembly SIMD.

Flag "-msimd128" need to be applied to every source file when compiling
WASM SIMD. Currently only a part of the source files are compiled with
this flag so we get inconsistent result for
`sizeof(xnn_f32_minmax_params)` because the type definition include a
`#ifdef` for `__wasm_simd128__`. The inconsistency causes writing
garbage data to a stack variable and eventually cause the crash.

XNNPACK libraries are C libraries so need to apply the build flags not
only to `CMAKE_CXX_FLAGS` but also to `CMAKE_C_FLAGS`.
2022-09-30 16:34:15 -07:00
..
external fix XNNPACK on WebAssembly SIMD (#13161) 2022-09-30 16:34:15 -07:00
patches Update composable kernel and enable experimental inter wave scheduling (#12626) 2022-08-25 22:19:41 -07:00
tensorboard Disable two warnings raised by tensorboard on Visual Studio (#12773) 2022-09-06 20:42:52 +02:00
CMakeLists.txt fix XNNPACK on WebAssembly SIMD (#13161) 2022-09-30 16:34:15 -07:00
CMakeSettings.json
codeconv.runsettings
EnableVisualStudioCodeAnalysis.props
find_snpe.cmake cmake changes for SNPE EP (#11821) 2022-06-13 08:15:37 -07:00
gdk_toolchain.cmake Enable building with a GDK (#11126) 2022-04-07 15:06:31 -07:00
Info.plist.in
libonnxruntime.pc.cmake.in
nuget_helpers.cmake
onnxruntime.cmake Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
onnxruntime_codegen_tvm.cmake Update our absl cmake files (#10762) 2022-03-04 09:28:04 -08:00
onnxruntime_common.cmake Remove dynamic allocation for ThreadPool ParallelSection (#12429) 2022-08-04 09:46:16 -07:00
onnxruntime_config.h.in [wasm] update emscripten v2.0.34 (#10391) 2022-01-26 14:46:02 -08:00
onnxruntime_csharp.cmake Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
onnxruntime_eager.cmake Update our absl cmake files (#10762) 2022-03-04 09:28:04 -08:00
onnxruntime_flatbuffers.cmake Enable building with a GDK (#11126) 2022-04-07 15:06:31 -07:00
onnxruntime_framework.cmake ATen Fallback for Inference (#11597) 2022-06-09 16:07:30 +08:00
onnxruntime_fuzz_test.cmake
onnxruntime_graph.cmake ONNX Protobuf natvis with some google::protobuf (#12580) 2022-08-15 09:59:07 -07:00
onnxruntime_ios.toolchain.cmake
onnxruntime_java.cmake Add linux and macos arm64 java aritifacts (#10981) 2022-03-25 16:23:17 -07:00
onnxruntime_java_unittests.cmake
onnxruntime_kernel_explorer.cmake Move all TunableOp related falicilities to EP level directory (#12857) 2022-09-23 11:10:19 +08:00
onnxruntime_language_interop_ops.cmake
onnxruntime_mlas.cmake [cmake] Export multi targets in static build (#11063) 2022-04-03 22:37:18 -07:00
onnxruntime_nodejs.cmake
onnxruntime_objectivec.cmake
onnxruntime_opschema_lib.cmake
onnxruntime_optimizer.cmake [cmake] Export multi targets in static build (#11063) 2022-04-03 22:37:18 -07:00
onnxruntime_providers.cmake Revert "Enable ROCm to use tunable GEMM" (#13160) 2022-09-30 14:01:16 +08:00
onnxruntime_pyop.cmake
onnxruntime_python.cmake Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
onnxruntime_session.cmake C API version 0.001 (#11758) 2022-06-15 11:13:35 -07:00
onnxruntime_snpe_provider.cmake cmake changes for SNPE EP (#11821) 2022-06-13 08:15:37 -07:00
onnxruntime_training.cmake DML EP fix training build error (#12461) 2022-08-05 16:01:25 -07:00
onnxruntime_unittests.cmake Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
onnxruntime_util.cmake [cmake] Export multi targets in static build (#11063) 2022-04-03 22:37:18 -07:00
onnxruntime_webassembly.cmake increase max memory to 4G for wasm (#12798) 2022-09-06 17:07:13 -07:00
precompiled_header.cmake
protobuf_function.cmake
Sdl.ruleset Update Sdl.ruleset to remove C26812 from the rules (#12695) 2022-09-01 20:05:20 -07:00
set_winapi_family_desktop.h
target_delayload.cmake Remove Windows Store specific code 2022-03-17 23:38:14 -07:00
uwp_stubs.h
wcos_rules_override.cmake
wil.cmake
winml.cmake
winml_cppwinrt.cmake
winml_sdk_helpers.cmake
winml_unittests.cmake Remove Windows Store specific code 2022-03-17 23:38:14 -07:00