#include <iostream>
#include <string>
#include <vector>
#include <cassert>
#include <array>
Go to the source code of this file.
|
| class | Thread |
| | 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...
|
| |
◆ THREAD_REGISTER_COUNT
| #define THREAD_REGISTER_COUNT 64 |
Define the number of registers available to each thread.
◆ RegisterFile
◆ ThreadState
| Enumerator |
|---|
| ACTIVE | |
| INACTIVE | |