Add rocr namespace to core header and impl files
Change-Id: I1e1b33f9bba1078d049bc19797889988c3e43360
This commit is contained in:
gecommit door
Sean Keely
bovenliggende
99e2942949
commit
fa13208698
@@ -72,6 +72,7 @@
|
||||
DST |= ((VAL << MSK ## _SHIFT) & MSK)
|
||||
#endif // AMDHSA_BITS_SET
|
||||
|
||||
namespace rocr {
|
||||
namespace llvm {
|
||||
namespace amdhsa {
|
||||
|
||||
@@ -208,5 +209,6 @@ static_assert(
|
||||
|
||||
} // end namespace amdhsa
|
||||
} // end namespace llvm
|
||||
} // end namespace rocr
|
||||
|
||||
#endif // LLVM_SUPPORT_AMDHSAKERNELDESCRIPTOR_H
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
|
||||
#include "AMDHSAKernelDescriptor.h"
|
||||
|
||||
using namespace amd::hsa;
|
||||
using namespace amd::hsa::common;
|
||||
using namespace rocr::amd::hsa;
|
||||
using namespace rocr::amd::hsa::common;
|
||||
|
||||
// Having a side effect prevents call site optimization that allows removal of a noinline function call
|
||||
// with no side effect.
|
||||
@@ -82,6 +82,7 @@ HSA_API r_debug _amdgpu_r_debug = {2,
|
||||
0};
|
||||
static link_map* r_debug_tail = nullptr;
|
||||
|
||||
namespace rocr {
|
||||
namespace amd {
|
||||
namespace hsa {
|
||||
namespace loader {
|
||||
@@ -1906,3 +1907,4 @@ bool ExecutableImpl::PrintToFile(const std::string& filename)
|
||||
} // namespace loader
|
||||
} // namespace hsa
|
||||
} // namespace amd
|
||||
} // namespace rocr
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
#include "inc/amd_hsa_kernel_code.h"
|
||||
#include "amd_hsa_locks.hpp"
|
||||
|
||||
namespace rocr {
|
||||
namespace amd {
|
||||
namespace hsa {
|
||||
namespace loader {
|
||||
@@ -600,5 +601,6 @@ public:
|
||||
} // namespace loader
|
||||
} // namespace hsa
|
||||
} // namespace amd
|
||||
} // namespace rocr
|
||||
|
||||
#endif // HSA_RUNTIME_CORE_LOADER_EXECUTABLE_HPP_
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <cassert>
|
||||
#include "loaders.hpp"
|
||||
|
||||
namespace rocr {
|
||||
namespace amd {
|
||||
namespace hsa {
|
||||
namespace loader {
|
||||
@@ -253,6 +254,7 @@ namespace loader {
|
||||
return HSA_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace loader
|
||||
} // namespace hsa
|
||||
} // namespace amd
|
||||
} // namespace rocr
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <set>
|
||||
#include <iostream>
|
||||
|
||||
namespace rocr {
|
||||
namespace amd {
|
||||
namespace hsa {
|
||||
namespace loader {
|
||||
@@ -100,8 +101,9 @@ namespace loader {
|
||||
hsa_status_t SamplerDestroy(
|
||||
hsa_agent_t agent, hsa_ext_sampler_t sampler_handle) override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace loader
|
||||
} // namespace hsa
|
||||
} // namespace amd
|
||||
} // namespace rocr
|
||||
|
||||
#endif // LOADERS_HPP_
|
||||
|
||||
Verwijs in nieuw issue
Block a user