Documentation ¶
Overview ¶
Package wavefront defines concepts related to a wavefront.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wavefront ¶
type Wavefront struct { *kernels.Wavefront sync.RWMutex WG *WorkGroup State WfState LastFetchTime sim.VTimeInSec // The time that the last instruction was fetched CompletedLanes int // The number of lanes that is completed in the SIMD unit InstBuffer []byte InstBufferStartPC uint64 IsFetching bool InstToIssue *Inst SIMDID int SRegOffset int VRegOffset int LDSOffset int PC uint64 EXEC uint64 VCC uint64 M0 uint32 SCC uint8 OutstandingScalarMemAccess int OutstandingVectorMemAccess int // contains filtered or unexported fields }
A Wavefront in the timing package contains the information of the progress of a wavefront
func NewWavefront ¶
NewWavefront creates a new Wavefront of the timing package, wrapping the wavefront from the kernels package.
func (*Wavefront) DynamicInst ¶
DynamicInst returns the insts with an ID
func (*Wavefront) ManagedInst ¶
ManagedInst returns the wrapped Inst
func (*Wavefront) Scratchpad ¶
func (wf *Wavefront) Scratchpad() emu.Scratchpad
Scratchpad returns the scratchpad of the wavefront
func (*Wavefront) SetDynamicInst ¶
SetDynamicInst sets the dynamic inst to execute
Click to show internal directories.
Click to hide internal directories.