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

This commit is contained in:
Rahul Garg authored and Maneesh Gupta committed 2019-08-16 02:13:45 +00:00
1 parent 7aa7a4ce22
commit 47b832bba7
1 file changed
+7 -1
+7 -1
Vedi File
@@ -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