GPUOcelot
|
#include <ReconvergenceMechanism.h>
Public Types | |
typedef std::vector< int > | ThreadIdVector |
Public Member Functions | |
ReconvergenceTFGen6 (CooperativeThreadArray *cta) | |
void | initialize () |
initializes the reconvergence mechanism | |
void | evalPredicate (executive::CTAContext &context) |
updates the predicate mask of the active context | |
bool | eval_Bra (executive::CTAContext &context, const ir::PTXInstruction &instr, const boost::dynamic_bitset<> &branch, const boost::dynamic_bitset<> &fallthrough) |
implements branch instruction and updates CTA state | |
void | eval_Bar (executive::CTAContext &context, const ir::PTXInstruction &instr) |
implements a barrier instruction | |
void | eval_Reconverge (executive::CTAContext &context, const ir::PTXInstruction &instr) |
implements reconverge instruction | |
void | eval_Exit (executive::CTAContext &context, const ir::PTXInstruction &instr) |
implements exit instruction | |
bool | nextInstruction (executive::CTAContext &context, const ir::PTXInstruction::Opcode &opcode) |
updates the active context to the next instruction | |
executive::CTAContext & | getContext () |
gets the active context | |
size_t | stackSize () const |
gets the stack size | |
void | push (executive::CTAContext &) |
push a context | |
void | pop () |
pop a context |
typedef std::vector<int> executive::ReconvergenceTFGen6::ThreadIdVector |
executive::ReconvergenceTFGen6::ReconvergenceTFGen6 | ( | CooperativeThreadArray * | cta | ) |
void executive::ReconvergenceTFGen6::eval_Bar | ( | executive::CTAContext & | context, |
const ir::PTXInstruction & | instr | ||
) | [virtual] |
implements a barrier instruction
Implements executive::ReconvergenceMechanism.
bool executive::ReconvergenceTFGen6::eval_Bra | ( | executive::CTAContext & | context, |
const ir::PTXInstruction & | instr, | ||
const boost::dynamic_bitset<> & | branch, | ||
const boost::dynamic_bitset<> & | fallthrough | ||
) | [virtual] |
implements branch instruction and updates CTA state
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::eval_Exit | ( | executive::CTAContext & | context, |
const ir::PTXInstruction & | instr | ||
) | [virtual] |
implements exit instruction
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::eval_Reconverge | ( | executive::CTAContext & | context, |
const ir::PTXInstruction & | instr | ||
) | [virtual] |
implements reconverge instruction
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::evalPredicate | ( | executive::CTAContext & | context | ) | [virtual] |
updates the predicate mask of the active context
Implements executive::ReconvergenceMechanism.
executive::CTAContext & executive::ReconvergenceTFGen6::getContext | ( | ) | [virtual] |
gets the active context
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::initialize | ( | ) | [virtual] |
initializes the reconvergence mechanism
Implements executive::ReconvergenceMechanism.
bool executive::ReconvergenceTFGen6::nextInstruction | ( | executive::CTAContext & | context, |
const ir::PTXInstruction::Opcode & | opcode | ||
) | [virtual] |
updates the active context to the next instruction
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::pop | ( | ) | [virtual] |
pop a context
Implements executive::ReconvergenceMechanism.
void executive::ReconvergenceTFGen6::push | ( | executive::CTAContext & | ) | [virtual] |
push a context
Implements executive::ReconvergenceMechanism.
size_t executive::ReconvergenceTFGen6::stackSize | ( | ) | const [virtual] |
gets the stack size
Implements executive::ReconvergenceMechanism.