3e9aca0f3472802957a34d096c7233b673ce0f55
Attribute optimize(0) doesn't appear to be helpful helpful. This prevents optimization in the function but not at call sites to the function. The function may still be inlined since it has no side effect (in some cases that we currently don't support). Having a side effect prevents a call site optimization that allows removal of a noinline function call with no side effect. Call site optimization should only happen (in GCC at least) when using whole program optimization so this may be stronger than we strictly need. Also added _amdgpu_r_debug to the exported symbol list (global) and switched to the standard macro for an exported symbol (HSA_API). Without being in the global list the debugger will not find this symbol if the binary has been stripped. Change-Id: Ieb00175ccc55fda4491deee44711cd55b3f24aeb
Description
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Other
1.1%