Make Bundled_code_header visible for hipRTC usage (#1359)
[ROCm/hip commit: 0fd14a3e13]
This commit is contained in:
committed by
Maneesh Gupta
parent
808356f88b
commit
bd916675eb
@@ -91,6 +91,10 @@ struct Bundled_code {
|
||||
|
||||
#define magic_string_ "__CLANG_OFFLOAD_BUNDLE__"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC visibility push (default)
|
||||
#endif
|
||||
|
||||
class Bundled_code_header {
|
||||
// DATA - STATICS
|
||||
static constexpr auto magic_string_sz_ = sizeof(magic_string_) - 1;
|
||||
@@ -172,6 +176,10 @@ class Bundled_code_header {
|
||||
size_t bundled_code_size = 0;
|
||||
};
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
|
||||
// CREATORS
|
||||
template <typename RandomAccessIterator>
|
||||
Bundled_code_header::Bundled_code_header(RandomAccessIterator f, RandomAccessIterator l)
|
||||
|
||||
Reference in New Issue
Block a user