MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::TensorKernels::detail Namespace Reference

Functions

size_t element_count (const std::vector< uint64_t > &shape)
std::array< uint32_t, 3 > group_grid (size_t invocations, uint32_t local)
 Workgroup counts covering the invocations, along x up to max_groups_per_axis and then along y.
uint32_t groups_for (size_t invocations, uint32_t local)
template<typename PC>
DependencyStage make_grid_stage (const char *shader, const PC &pc, size_t invocations)
template<typename PC>
DependencyStage make_stage (const char *shader, uint32_t local, const PC &pc, uint32_t groups)
void refuse (std::string_view message)
std::string shape_text (const std::vector< uint64_t > &shape)