GPUOcelot
Public Member Functions

executive::LLVMWorkerThread Class Reference

A thread responsible for executing CTAs. More...

#include <LLVMWorkerThread.h>

List of all members.

Public Member Functions

 LLVMWorkerThread ()
 ~LLVMWorkerThread ()
void setupCta (const LLVMExecutableKernel &kernel)
 Setup the state of a cta using an LLVM kernel.
void launchCta (unsigned int ctaId)
 Launch the specified CTA from the current kernel.
void finishCta ()
 Block until the currently executing CTA is finished.
void flushTranslatedKernels ()
 Flush refernces to all translated kernels.
LLVMModuleManager::FunctionId getFunctionId (const std::string &moduleName, const std::string &functionName)
 Get the id of a translated function from the database.
LLVMModuleManager::KernelAndTranslation::MetaDatagetFunctionMetaData (const LLVMModuleManager::FunctionId &id)
 Get the translated function from the database.

Detailed Description

A thread responsible for executing CTAs.


Constructor & Destructor Documentation

executive::LLVMWorkerThread::LLVMWorkerThread ( )
executive::LLVMWorkerThread::~LLVMWorkerThread ( )

Member Function Documentation

void executive::LLVMWorkerThread::finishCta ( )

Block until the currently executing CTA is finished.

void executive::LLVMWorkerThread::flushTranslatedKernels ( )

Flush refernces to all translated kernels.

LLVMModuleManager::FunctionId executive::LLVMWorkerThread::getFunctionId ( const std::string &  moduleName,
const std::string &  functionName 
)

Get the id of a translated function from the database.

LLVMModuleManager::MetaData * executive::LLVMWorkerThread::getFunctionMetaData ( const LLVMModuleManager::FunctionId id)

Get the translated function from the database.

void executive::LLVMWorkerThread::launchCta ( unsigned int  ctaId)

Launch the specified CTA from the current kernel.

void executive::LLVMWorkerThread::setupCta ( const LLVMExecutableKernel kernel)

Setup the state of a cta using an LLVM kernel.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines