Files
rocm-systems/src
Yaxun Sam Liu 98b9e92908 hip-clang: fix kernel not found on multi-gpu
__hipRegisterFunction is called during by .init functions during program initialization.
It calls hipModuleGetFunction to locate kernel symbol in code objects. hipModuleGetFunction
assumes current device when locating kernel symbols. This works for HCC but not for hip-clang,
since hip-clang needs to locate kernel symbols for different devices without switching
between devices.

This patch introduces a new hsa agent parameter to ihipModuleGetFunction, which allows
__hipRegisterFunction to choose the correct hsa agent when locating kernel symbols. By
default it uses this_agent(), therefore this patch has no impact on HCC.
2019-03-31 10:08:20 -04:00
..
2019-02-21 12:48:28 -05:00
2018-11-27 15:55:50 -05:00
2019-03-28 02:21:45 +05:30
2019-03-14 22:43:52 -05:00
2018-03-01 12:22:56 +05:30
2017-07-17 15:16:12 -04:00
2017-03-31 12:40:29 -05:00