Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
WasmExecutor.h File Reference

Support for running Halide-compiled Wasm code in-process. More...

#include "Argument.h"
#include "Parameter.h"
#include "Type.h"
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Halide::Internal::WasmModule
 Handle to compiled wasm code which can be called later. More...
 

Namespaces

namespace  Halide
 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
 
namespace  Halide::Internal
 

Detailed Description

Support for running Halide-compiled Wasm code in-process.

Bindings for parameters, extern calls, etc. are established and the Wasm code is executed. Allows calls to realize to work exactly as if native code had been run, but via a JavaScript/Wasm VM. Currently, only the WABT interpreter is supported.

Definition in file WasmExecutor.h.