Halide
WasmExecutor.h File Reference
#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

 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.
 
 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.