类 | |
| struct | GroupRuntime |
Public 成员函数 | |
| ~Impl () | |
| gpgpu::GpuBuffer * | alloc (int byteSize) |
| void | bindGroup (const GroupRuntime &g) const |
| void | recordGroup (const GroupRuntime &g, gpgpu::Sequence *seq) const |
Public 属性 | |
| gpgpu::Gpgpu * | gpgpu = nullptr |
| std::vector< GroupRuntime > | groups |
| std::vector< gpgpu::GpuBuffer * > | slotBuffer |
| std::vector< gpgpu::GpuBuffer * > | placeholderBuffers |
| std::vector< int > | placeholderSizes |
| std::vector< std::unique_ptr< gpgpu::GpuBuffer > > | ownedBuffers |
| std::map< int, gpgpu::GpuBuffer * > | qScalesByNode |
| gpgpu::GpuBuffer * | outputBuffer = nullptr |
| int | outputSize = 0 |
| std::unique_ptr< gpgpu::Sequence > | sequence |
| std::unique_ptr< gpgpu::GpuBuffer > | outputStaging |
详细描述
在文件 GpuBackend.cpp 第 151 行定义.
构造及析构函数说明
◆ ~Impl()
|
inline |
在文件 GpuBackend.cpp 第 174 行定义.
引用了 groups, outputStaging , 以及 sequence.
成员函数说明
◆ alloc()
|
inline |
在文件 GpuBackend.cpp 第 181 行定义.
引用了 borrowed, buffer, gpgpu, eve::gpgpu::Gpgpu::newBuffer() , 以及 ownedBuffers.
◆ bindGroup()
|
inline |
Bind real arena buffers once at build time; bindings persist across runs.
在文件 GpuBackend.cpp 第 189 行定义.
◆ recordGroup()
|
inline |
Record all dispatches of one fused group into the shared sequence.
在文件 GpuBackend.cpp 第 220 行定义.
引用了 g , 以及 eve::gpgpu::Sequence::recordDispatch().
被这些函数引用 eve::tensor::GpuProgram::run().
类成员变量说明
◆ gpgpu
| gpgpu::Gpgpu* eve::tensor::GpuProgram::Impl::gpgpu = nullptr |
在文件 GpuBackend.cpp 第 162 行定义.
被这些函数引用 alloc().
◆ groups
| std::vector<GroupRuntime> eve::tensor::GpuProgram::Impl::groups |
在文件 GpuBackend.cpp 第 163 行定义.
被这些函数引用 eve::tensor::GpuProgram::run() , 以及 ~Impl().
◆ outputBuffer
| gpgpu::GpuBuffer* eve::tensor::GpuProgram::Impl::outputBuffer = nullptr |
在文件 GpuBackend.cpp 第 169 行定义.
被这些函数引用 eve::tensor::GpuProgram::run().
◆ outputSize
| int eve::tensor::GpuProgram::Impl::outputSize = 0 |
在文件 GpuBackend.cpp 第 170 行定义.
被这些函数引用 eve::tensor::GpuProgram::run().
◆ outputStaging
| std::unique_ptr<gpgpu::GpuBuffer> eve::tensor::GpuProgram::Impl::outputStaging |
在文件 GpuBackend.cpp 第 172 行定义.
被这些函数引用 eve::tensor::GpuProgram::run() , 以及 ~Impl().
◆ ownedBuffers
| std::vector<std::unique_ptr<gpgpu::GpuBuffer> > eve::tensor::GpuProgram::Impl::ownedBuffers |
在文件 GpuBackend.cpp 第 167 行定义.
被这些函数引用 alloc().
◆ placeholderBuffers
| std::vector<gpgpu::GpuBuffer *> eve::tensor::GpuProgram::Impl::placeholderBuffers |
在文件 GpuBackend.cpp 第 165 行定义.
被这些函数引用 eve::tensor::GpuProgram::run().
◆ placeholderSizes
| std::vector<int> eve::tensor::GpuProgram::Impl::placeholderSizes |
在文件 GpuBackend.cpp 第 166 行定义.
被这些函数引用 eve::tensor::GpuProgram::run().
◆ qScalesByNode
| std::map<int, gpgpu::GpuBuffer *> eve::tensor::GpuProgram::Impl::qScalesByNode |
在文件 GpuBackend.cpp 第 168 行定义.
◆ sequence
| std::unique_ptr<gpgpu::Sequence> eve::tensor::GpuProgram::Impl::sequence |
在文件 GpuBackend.cpp 第 171 行定义.
被这些函数引用 eve::tensor::GpuProgram::run() , 以及 ~Impl().
◆ slotBuffer
| std::vector<gpgpu::GpuBuffer *> eve::tensor::GpuProgram::Impl::slotBuffer |
在文件 GpuBackend.cpp 第 164 行定义.
该结构体的文档由以下文件生成:
- src/modules/tensor/GpuBackend.cpp