summaryrefslogtreecommitdiff
path: root/src/cpu/func_unit.hh
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:42 -0500
committerBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:42 -0500
commit35ba10300977bfbaf0e02ed52de7ea1cd3817d29 (patch)
treedb8df9accdde22613adcc2a8e41dad8b22583496 /src/cpu/func_unit.hh
parent38708f369bc5ec6f6a4db973d0413f0b3ce7f97a (diff)
downloadgem5-35ba10300977bfbaf0e02ed52de7ea1cd3817d29.tar.xz
hsail: remove the panic guarding function directives
HSA functions calls are still not supported properly with HSAIL, but the recent AMP runtime modifications rely on being able to parse the BRIG/HSAIL files that are extracted from the application binaries. We need to parse the function call HSAIL definitions, but we do not actually need to make the function calls. The reason that this happens is that HCC appends a set of routines to every HSAIL binary that it creates. These extra, unnecessary routines exist in the HCC source as a file; this file is cat'd onto everything that the compiler outputs before being assembled into the application's binary. HCC does this because it might call these helper functions. However, it doesn't actually appear to do so in the AMP codes so we just parse these functions with the HSAIL parser and then ignore them.
Diffstat (limited to 'src/cpu/func_unit.hh')
0 files changed, 0 insertions, 0 deletions