Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class encapsulates information about a pipeline stage. More...
#include <talvos/PipelineStage.h>
Public Member Functions | |
PipelineStage (Device &D, std::shared_ptr< const Module > M, const EntryPoint *EP, const SpecConstantMap &SM={}) | |
Create a new PipelineStage. More... | |
const EntryPoint * | getEntryPoint () const |
Return the entry point this pipeline stage will invoke. More... | |
Dim3 | getGroupSize () const |
Return the workgroup size. More... | |
std::shared_ptr< const Module > | getModule () const |
Return the module this pipeline stage is using. More... | |
const std::vector< Object > & | getObjects () const |
Returns a list of all result objects in this pipeline stage. More... | |
PipelineStage (const PipelineStage &)=delete | |
PipelineStage & | operator= (const PipelineStage &)=delete |
Private Attributes | |
std::shared_ptr< const Module > | Mod |
The module containing the entry point to invoke. More... | |
const EntryPoint * | EP |
The entry point to invoke. More... | |
Dim3 | GroupSize |
The size of each workgroup. More... | |
std::vector< Object > | Objects |
The result objects in this pipeline stage, after specialization. More... | |
This class encapsulates information about a pipeline stage.
Definition at line 30 of file PipelineStage.h.
talvos::PipelineStage::PipelineStage | ( | Device & | D, |
std::shared_ptr< const Module > | M, | ||
const EntryPoint * | EP, | ||
const SpecConstantMap & | SM = {} |
||
) |
Create a new PipelineStage.
The function F
must belong to module M
.
D | The device on which to create the pipeline stage. |
M | The module containing the entry point to invoke. |
EP | The entry point to invoke. |
SM | A map of specialization constant values. |
Definition at line 18 of file PipelineStage.cpp.
|
delete |
|
inline |
Return the entry point this pipeline stage will invoke.
Definition at line 51 of file PipelineStage.h.
|
inline |
Return the workgroup size.
Definition at line 54 of file PipelineStage.h.
|
inline |
Return the module this pipeline stage is using.
Definition at line 57 of file PipelineStage.h.
|
inline |
Returns a list of all result objects in this pipeline stage.
Definition at line 60 of file PipelineStage.h.
|
delete |
|
private |
The entry point to invoke.
Definition at line 66 of file PipelineStage.h.
|
private |
The size of each workgroup.
Definition at line 67 of file PipelineStage.h.
|
private |
The module containing the entry point to invoke.
Definition at line 60 of file PipelineStage.h.
|
private |
The result objects in this pipeline stage, after specialization.
Definition at line 70 of file PipelineStage.h.