1#ifndef HALIDE_HOST_GPU_BUFFER_COPIES_H
2#define HALIDE_HOST_GPU_BUFFER_COPIES_H
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt call_extern_and_assert(const std::string &name, const std::vector< Expr > &args)
A helper function to call an extern function, and assert that it returns 0.
Stmt inject_host_dev_buffer_copies(Stmt s, const Target &t)
Inject calls to halide_device_malloc, halide_copy_to_device, and halide_copy_to_host as needed.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.
A struct representing a target machine and os to generate code for.