hsail-x86: fix addr_range_map error
authorBrandon Potter <brandon.potter@amd.com>
Fri, 17 Aug 2018 00:55:01 +0000 (20:55 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Fri, 17 Aug 2018 16:58:05 +0000 (16:58 +0000)
commitc5607563fbcc48d7f84ef41057947a18ebcbdeaf
tree73f28e77e7270cf4c4942ef53eaeea87acb806cc
parent003d44f6869ac0115c2f4ec889c145d2c664b2b7
hsail-x86: fix addr_range_map error

683f411dca introduced changes to the addr_range_map's
"find" method. Nikos replaced the relevant code with a new
"contains" method. Propagate the changes to the gpu-compute
code.

Change-Id: I8cfe3b15cbfb476685b0ed5ba423ea5a8f1000d8
Reviewed-on: https://gem5-review.googlesource.com/12107
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/gpu-compute/hsail_code.cc