gpu-compute: remove inst enums and use bit flag for attributes
Review Request #3644 - Created Oct. 5, 2016 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11663:8d1c14f262e9
---------------------------
gpu-compute: remove inst enums and use bit flag for attributesthis patch removes the GPUStaticInst enums that were defined in GPU.py. instead,
a simple set of attribute flags that can be set in the base instruction class
are used. this will help unify the attributes of HSAIL and other possible ISA
instructions within the model itself.because the static instrution now carries the attributes, a GPUDynInst
must carry a pointer to a valid GPUStaticInst so a new static kernel launch
instruction is added, which carries the attributes needed to perform a
the kernel launch.
