|
PXL
|
A container for Function of MU kernel binary. More...
#include <module.hpp>
Public Member Functions | |
| Module (const Module &)=delete | |
| Deleted copy constructor. More... | |
| Module & | operator= (const Module &)=delete |
| Deleted copy assignment operator. More... | |
| virtual Function * | createFunction (const char *muFuncName)=0 |
| Creates a Function object from the specified function name. More... | |
| template<auto Func> | |
| Function * | createFunction () |
| Creates a Function object via compile-time KernelTraits lookup. More... | |
| virtual void | destroyFunction (Function *function)=0 |
| Destroys the specified Function object. More... | |
| virtual std::string | getMuBinaryPath () const =0 |
| Gets the binary path of the module. More... | |
| virtual uint32_t | getNumMuFunctions () const =0 |
| Gets the number of functions in the module. More... | |
| virtual std::vector< std::string > | getMuFunctionList () const =0 |
| Gets the name of MU functions in the module. More... | |
Protected Member Functions | |
| Module ()=default | |
| virtual | ~Module ()=default |
A container for Function of MU kernel binary.
A Module represents a MU Kernel Binary file, which is the output of the MU compiler. It acts as a container for Function objects that are intended for parallel execution on the MU. PXL utilizes the Module to schedule operations and coordinate their execution. It offers functionality for:
Definition at line 43 of file module.hpp.
|
delete |
Deleted copy constructor.
|
protecteddefault |
|
protectedvirtualdefault |
|
inline |
Creates a Function object via compile-time KernelTraits lookup.
| Func | Kernel function pointer (must have a KernelTraits specialization). |
Example usage:
Definition at line 87 of file module.hpp.
|
pure virtual |
Creates a Function object from the specified function name.
| muFuncName | Name of the function to retrieve. |
Example usage:
|
pure virtual |
|
pure virtual |
Gets the binary path of the module.
|
pure virtual |
Gets the name of MU functions in the module.
|
pure virtual |
Gets the number of functions in the module.