Platforms and Distribution¶
This pillar covers the platforms Caliper runs on and how it is built, tested, signed and packaged for them, including the steps that bring Windows level with macOS.
The roadmap graph shows how these features depend on features in other pillars. Ideas for this pillar that are not in the registry are on its candidates page.
Shipped¶
- PLT-01 macOS on Metal. macOS is the primary platform, where the host draws with its own Metal renderer and takes tensors from torch on MPS without a copy.
- PLT-02 Windows on Vulkan and CUDA. On Windows the host draws with a Vulkan renderer and moves CUDA tensors to it through interop, with fallbacks when the fast path is unavailable.
- PLT-03 Continuous Integration. Continuous integration builds and tests the core on macOS and on windows-latest, builds the applets and packages against the installed SDK, and checks that the host names no applet.
Planned¶
- PLT-04 Signed and Notarized Build. The macOS app is signed and notarized for distribution, together with the agents it packages. Sprint 5.
- PLT-05 Windows Build and Test Baseline. The Windows baseline runs full CI on windows-latest for every package and subcommand and runs the graphics and embed suites on Windows hardware with no skipped GPU rows.
- PLT-06 Applet Platform on Windows. The applet platform on Windows gets applet loading with the right DLL search directories, the libtorch pin with its CUDA variant, install over a loaded DLL, a console entry point, and caliper shot and caliper build.
- PLT-07 Caliper LIB on Windows. Caliper LIB gets Windows wheels built with MSVC, its network transport is verified and measured on CUDA, and its in-process window runs on Vulkan.
- PLT-08 Streaming, the Hub and Caliper API on Windows. Windows gets the app's network source, the caliper serve hub and Caliper API v0 on Winsock, bound to 127.0.0.1, with their refusals lifted once their tests run there.
- PLT-09 Web Viewer and Notebooks on Windows. The web viewer is checked in Chrome and Edge and the notebook widget in JupyterLab and Visual Studio Code on Windows.
- PLT-10 Caliper Embed on Windows. The installed caliper-embed package runs on Windows hardware with Win32 hosting in a window and offscreen, and it gains hosting examples for WPF, WinForms and Qt.
- PLT-11 Renderer Fallbacks on Windows. Windows gets the WebGPU backend through Dawn as the native fallback, drawing through Direct3D 12, Direct3D 11 or SwiftShader when Vulkan is unavailable.
- PLT-12 Signing and Packaging on Windows. Windows gets Authenticode signing of the app, the CLI entry point and the first-party applet DLLs, an installer, and a winget package that puts the CLI on the path.
- PLT-13 Builder Agents on Windows. Windows gets process spawning, the caliper-mcp HTTP client and a Credential Manager key store, so that the side chat and the widget agent run there.
- PLT-14 Linux arm64. Caliper builds, tests and ships on Linux on arm64, including a Caliper LIB wheel, once a Linux arm64 machine is available.
- PLT-16 Scenes and Recordings on Windows. Scenes, slice planes, isosurfaces and recordings work on Windows, through the Vulkan backend of the graphics layer and CUDA.
- PLT-18 Fast Paths in the Documented Setup. The documented setup builds the native sender and the WebAssembly views, so that a first run uses the fast paths rather than the Python sender and the TypeScript views. Sprint 3.2.
- PLT-19 Release Workflow. A release workflow attaches the WebAssembly views to each release and publishes Caliper LIB's wheel.
Decisions¶
- PLT-15 Linux arm64 Timing. This decision sets when Linux work starts; it waits until a Linux arm64 machine is available, and the Linux features wait with it.
- PLT-17 WinUI 3 Hosting. This decision sets whether Caliper Embed is hosted in WinUI 3, which expects a DXGI swap chain, through Vulkan and DXGI interop or through the Dawn fallback.