|
tvm
|
Static resolver for ScopeIdDef values. Replaces the former ScopeIdResolveTable runtime registry with a closed-enum switch. More...
#include <exec_scope.h>
Public Types | |
| using | LaunchParams = std::unordered_map< ffi::String, IterVar > |
Static Public Member Functions | |
| static ffi::Array< PrimExpr > | Resolve (ScopeBinding binding, const ffi::Optional< ffi::Array< PrimExpr >> &extents, int out_dim, const ffi::String &target_kind, const LaunchParams ¶ms) |
| Resolve a ScopeIdDef for a given canonical binding + target. More... | |
| static PrimExpr | ComputeWarpIdInCta (const LaunchParams ¶ms) |
| Compute the warp_id_in_cta shuffle expression from threadIdx in launch params. More... | |
Static resolver for ScopeIdDef values. Replaces the former ScopeIdResolveTable runtime registry with a closed-enum switch.
| using tvm::tirx::ScopeIdResolve::LaunchParams = std::unordered_map<ffi::String, IterVar> |
|
static |
Compute the warp_id_in_cta shuffle expression from threadIdx in launch params.
|
static |
Resolve a ScopeIdDef for a given canonical binding + target.