Fix build issues seen with hip-clang path (#1331)

此提交包含在:
Rahul Garg
2019-08-15 19:13:45 -07:00
提交者 Maneesh Gupta
父節點 c4655d167e
當前提交 a0cc627c42
+7 -1
查看文件
@@ -29,6 +29,10 @@ THE SOFTWARE.
#include "hip_fatbin.h"
#include "trace_helper.h"
#ifdef __GNUC__
#pragma GCC visibility push (default)
#endif
extern "C" std::vector<hipModule_t>*
__hipRegisterFatBinary(const void* data)
{
@@ -249,4 +253,6 @@ hipError_t hipLaunchByPtr(const void *hostFunction)
return ihipLogStatus(e);
}
#ifdef __GNUC__
#pragma GCC visibility pop
#endif