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

[ROCm/hip commit: 47b832bba7]
Este commit está contenido en:
Rahul Garg
2019-08-15 19:13:45 -07:00
cometido por Maneesh Gupta
padre 4f0fb9236e
commit 74443e34ab
+7 -1
Ver fichero
@@ -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