Skip to content

Instantly share code, notes, and snippets.

View fdwr's full-sized avatar
🏢
Working at office

Dwayne Robinson fdwr

🏢
Working at office
View GitHub Profile
@fdwr
fdwr / StringHelpers.ixx
Last active May 23, 2025 01:38
String conversion functions
// Miscellaneous helpers for strings that core C++ is missing.
module;
#include "precomp.h"
#include <stdint.h>
#include <string>
#include <string_view>
#include <span>
#include <optional>
#include <type_traits>
@fdwr
fdwr / BuildOrtWeb.bat
Created May 23, 2023 21:20
Build ORT for the Web on Windows
:: Adapted from Linux: https://gist.github.com/guschmue/ed7b2eeae60ee91342f3667c0fb3e76b
:: cd to the root of your repo for https://github.com/microsoft/onnxruntime.
:: Ensure Python.exe and Npm are on your path.
setlocal
:: Build with SIMD enabled.
call ./build.bat --config RelWithDebInfo --parallel --skip_submodule_sync --skip_tests --parallel --build_wasm --enable_wasm_simd --use_webnn --target onnxruntime_webassembly