#include <Dispatcher.h>
|
| virtual | ~Dispatcher ()=default |
| |
| virtual std::unique_ptr< llvm::MemoryBuffer > | compile (std::unique_ptr< llvm::LLVMContext > Ctx, std::unique_ptr< llvm::Module > M, const HashT &ModuleHash, bool DisableIROpt=false)=0 |
| |
| virtual std::unique_ptr< CompiledLibrary > | lookupCompiledLibrary (const HashT &ModuleHash)=0 |
| |
| virtual DispatchResult | launch (void *KernelFunc, LaunchDims GridDim, LaunchDims BlockDim, void *KernelArgs[], uint64_t ShmemSize, void *Stream)=0 |
| |
| virtual llvm::StringRef | getDeviceArch () const =0 |
| |
| template<typename Sig , typename... ArgT> |
| sig_traits< Sig >::return_type | run (void *FuncPtr, ArgT &&...Args) |
| |
| virtual void * | getFunctionAddress (const std::string &FunctionName, const HashT &ModuleHash, CompiledLibrary &Library)=0 |
| |
| virtual void | registerDynamicLibrary (const HashT &HashValue, const std::string &Path)=0 |
| |
◆ Dispatcher()
| proteus::Dispatcher::Dispatcher |
( |
const std::string & |
Name, |
|
|
TargetModelType |
TM |
|
) |
| |
|
protected |
◆ ~Dispatcher()
| virtual proteus::Dispatcher::~Dispatcher |
( |
| ) |
|
|
virtualdefault |
◆ compile()
| virtual std::unique_ptr< llvm::MemoryBuffer > proteus::Dispatcher::compile |
( |
std::unique_ptr< llvm::LLVMContext > |
Ctx, |
|
|
std::unique_ptr< llvm::Module > |
M, |
|
|
const HashT & |
ModuleHash, |
|
|
bool |
DisableIROpt = false |
|
) |
| |
|
pure virtual |
◆ getDeviceArch()
| virtual llvm::StringRef proteus::Dispatcher::getDeviceArch |
( |
| ) |
const |
|
pure virtual |
◆ getDispatcher()
◆ getFunctionAddress()
| virtual void * proteus::Dispatcher::getFunctionAddress |
( |
const std::string & |
FunctionName, |
|
|
const HashT & |
ModuleHash, |
|
|
CompiledLibrary & |
Library |
|
) |
| |
|
pure virtual |
◆ launch()
◆ lookupCompiledLibrary()
| virtual std::unique_ptr< CompiledLibrary > proteus::Dispatcher::lookupCompiledLibrary |
( |
const HashT & |
ModuleHash | ) |
|
|
pure virtual |
◆ registerDynamicLibrary()
| virtual void proteus::Dispatcher::registerDynamicLibrary |
( |
const HashT & |
HashValue, |
|
|
const std::string & |
Path |
|
) |
| |
|
pure virtual |
◆ run()
template<typename Sig , typename... ArgT>
| sig_traits< Sig >::return_type proteus::Dispatcher::run |
( |
void * |
FuncPtr, |
|
|
ArgT &&... |
Args |
|
) |
| |
|
inline |
◆ ObjectCache
◆ TargetModel
The documentation for this class was generated from the following files: