CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Classes | Public Member Functions | List of all members
CLRX::ISAWaitHandler Class Reference

wait handler More...

#include <Assembler.h>

Classes

struct  ReadPos
 

Public Member Functions

 ISAWaitHandler ()
 constructor
 
void pushDelayedOp (const AsmDelayedOp &delOp)
 push delayed result
 
void pushWaitInstr (const AsmWaitInstr &waitInstr)
 wait instruction
 
bool hasNext (const ReadPos &readPos) const
 return true if has next instruction
 
bool nextInstr (ReadPos &readPos, AsmDelayedOp &delOp, AsmWaitInstr &waitInstr)
 get next instruction, return true if waitInstr
 
ReadPos findPositionByOffset (size_t offset) const
 find position by offset
 
ISAWaitHandlercopy () const
 copy wait handler (make new copy)
 

Detailed Description

wait handler

wait handler that collect wait instructions and delayed operations. an delayed operations are registered per instruction if they have same offset. field 'count' determine number of operations per instructions. If two or more delayed ops for instruction present and they delayed ops have this same type then they will be treated as single delayed op.


The documentation for this class was generated from the following file: