Represents a GPU threadThe Thread class encapsulates the state and behavior of a GPU thread, including its ID, execution state, and register file. Each thread can be active or inactive, and it has a set of registers that can be read from and written to during instruction execution.
More...
#include <thread.hh>
Represents a GPU thread
The Thread class encapsulates the state and behavior of a GPU thread, including its ID, execution state, and register file. Each thread can be active or inactive, and it has a set of registers that can be read from and written to during instruction execution.
◆ Thread() [1/2]
◆ Thread() [2/2]
| Thread::Thread |
( |
int |
threadId, |
|
|
ThreadState |
threadState |
|
) |
| |
◆ getId()
| int Thread::getId |
( |
| ) |
const |
◆ getRegisterValue()
| int Thread::getRegisterValue |
( |
int |
index | ) |
const |
◆ getState()
◆ setId()
| void Thread::setId |
( |
int |
threadId | ) |
|
◆ setRegisters()
◆ setRegisterValue()
| void Thread::setRegisterValue |
( |
int |
index, |
|
|
int |
value |
|
) |
| |
◆ setState()
◆ id
◆ registers
◆ state
The documentation for this class was generated from the following files: