diff options
author | Tony Gutierrez <anthony.gutierrez@amd.com> | 2016-12-02 11:40:52 -0500 |
---|---|---|
committer | Tony Gutierrez <anthony.gutierrez@amd.com> | 2016-12-02 11:40:52 -0500 |
commit | 38708f369bc5ec6f6a4db973d0413f0b3ce7f97a (patch) | |
tree | faaeaa7a7340dfda883e6733a146ff5dfd8aec0e /src/gpu-compute | |
parent | 80607a2a1d32a15cabf9110e27855acb40a06f23 (diff) | |
download | gem5-38708f369bc5ec6f6a4db973d0413f0b3ce7f97a.tar.xz |
hsail: fix unsigned offset bug in address calculation
it's possible for the offset provided to an HSAIL mem inst to be a negative
value, however the variable we use to hold the offset is an unsigned type.
this can lead to excessively large offset values when the offset is negative,
which will almost certainly cause the access to go out of bounds.
Diffstat (limited to 'src/gpu-compute')
0 files changed, 0 insertions, 0 deletions