Halide 18.0.0
Halide compiler and libraries
|
A Closure modified to inspect GPU-specific memory accesses, and produce a vector of DeviceArgument objects. More...
#include <DeviceArgument.h>
Public Member Functions | |
HostClosure ()=default | |
std::vector< DeviceArgument > | arguments () |
Get a description of the captured arguments. | |
![]() | |
Closure ()=default | |
Closure (const Closure &)=delete | |
Closure & | operator= (const Closure &)=delete |
Closure (Closure &&)=default | |
Closure & | operator= (Closure &&)=default |
void | include (const Stmt &s, const std::string &loop_variable="") |
Traverse a statement and find all references to external symbols. | |
Expr | pack_into_struct () const |
Pack a closure into a struct. | |
Stmt | unpack_from_struct (const Expr &, const Stmt &) const |
Unpack a closure around a Stmt, putting all the names in scope. | |
![]() | |
IRVisitor ()=default | |
virtual | ~IRVisitor ()=default |
Additional Inherited Members | |
![]() | |
std::map< std::string, Type > | vars |
External variables referenced. | |
std::map< std::string, Buffer > | buffers |
External allocations referenced. | |
![]() | |
Scope | ignore |
A Closure modified to inspect GPU-specific memory accesses, and produce a vector of DeviceArgument objects.
Definition at line 95 of file DeviceArgument.h.
|
default |
std::vector< DeviceArgument > Halide::Internal::HostClosure::arguments | ( | ) |
Get a description of the captured arguments.
Reimplemented from Halide::Internal::Closure.
Reimplemented from Halide::Internal::Closure.