载入中...
搜索中...
未找到
KernelGenInternal.h
浏览该文件的文档.
1#pragma once
2#include "tensor/KernelGen.h"
3
4// Private GLSL emission helpers shared by the kernel families.
6inline constexpr int kLocalSize = 256;
8std::string header(int localX, int localY = 1);
10std::string bufferDecl(int binding, const char *name);
12std::string pushConstant();
14std::string scalarStr(float value);
16int groupsFor(int count);
18void genResize2d(const Graph &, const FusedGroup &, KernelSpec &);
19} // namespace eve::tensor::glsl_detail
double value
std::string name
eve::action::ActionVfxBinding binding
std::uint32_t count
EVENGINE_API_DOMAINS public API.
Definition Graph.h:111
std::string header(int localX, int localY)
Header.
Definition KernelGen.cpp:13
std::string bufferDecl(int binding, const char *name)
Buffer decl.
Definition KernelGen.cpp:22
int groupsFor(int count)
Groups for.
std::string scalarStr(float v)
Scalar str.
void genResize2d(const Graph &, const FusedGroup &, KernelSpec &)
Gen resize 2 d.
std::string pushConstant()
Pushes constant.
FusedGroup public API.
Definition Optimizer.h:46
KernelSpec public API.
Definition KernelGen.h:27