WasmExecutor.h File Reference
#include "Argument.h"
#include "JITModule.h"
#include "Parameter.h"
#include "Target.h"
#include "Type.h"

Go to the source code of this file.


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


 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.

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.