Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL][NFC] Remove unnecessary namespace declarations #10529

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions sycl/include/sycl/detail/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,6 @@ class __SYCL_EXPORT tls_code_loc_t {
bool MLocalScope = true;
};

} // namespace detail
} // namespace _V1
} // namespace sycl

namespace sycl {
inline namespace _V1 {
namespace detail {

__SYCL_EXPORT const char *stringifyErrorCode(pi_int32 error);

inline std::string codeToString(pi_int32 code) {
Expand Down
4 changes: 0 additions & 4 deletions sycl/include/sycl/detail/generic_type_lists.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ namespace sycl {
inline namespace _V1 {
template <typename T, int N> class vec;
template <typename Type, std::size_t NumElements> class marray;
} // namespace _V1
} // namespace sycl

namespace sycl {
inline namespace _V1 {
namespace detail {
namespace gtl {
// floating point types
Expand Down
5 changes: 1 addition & 4 deletions sycl/include/sycl/ext/intel/esimd/detail/host_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@

namespace sycl {
inline namespace _V1 {

namespace detail::half_impl {
class half;
} // namespace detail::half_impl
} // namespace _V1
} // namespace sycl

namespace sycl {
inline namespace _V1 {
namespace ext::intel::esimd::emu::detail {

using half = sycl::detail::half_impl::half;
Expand Down
5 changes: 0 additions & 5 deletions sycl/include/sycl/ext/oneapi/experimental/uniform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ template <int> class group;
template <int> class nd_range;
using sycl::sub_group;

} // namespace _V1
} // namespace sycl

namespace sycl {
inline namespace _V1 {
namespace ext::oneapi::experimental {
namespace detail {

Expand Down
5 changes: 0 additions & 5 deletions sycl/include/sycl/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2150,11 +2150,6 @@ __SYCL_RELLOGOP(&&)
__SYCL_RELLOGOP(||)
#undef __SYCL_RELLOGOP

} // namespace _V1
} // namespace sycl

namespace sycl {
inline namespace _V1 {
namespace detail {

// Vectors of size 1 are handled separately and therefore 1 is not included in
Expand Down