Skip to content

Commit

Permalink
[SYCL][ESIMD][NFC] Align namespace name with the spec guidelines (#2573)
Browse files Browse the repository at this point in the history
SYCL specification recommends using `detail` namespace for
implementation details. This change should unify the name across the
whole project.
  • Loading branch information
bader authored Sep 30, 2020
1 parent a108e93 commit bb68eef
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 129 deletions.
4 changes: 2 additions & 2 deletions sycl/include/CL/sycl/INTEL/esimd/detail/esimd_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ constexpr unsigned int ElemsPerAddrDecoding(unsigned int ElemsPerAddrEncoded) {
return (1 << ElemsPerAddrEncoded);
}

namespace details {
namespace detail {

/// type traits
template <typename T> struct is_esimd_vector {
Expand Down Expand Up @@ -236,7 +236,7 @@ template <> struct word_type<int> { using type = short; };
template <> struct word_type<uchar> { using type = ushort; };
template <> struct word_type<uint> { using type = ushort; };

} // namespace details
} // namespace detail
} // namespace gpu
} // namespace INTEL
} // namespace sycl
Expand Down
Loading

0 comments on commit bb68eef

Please sign in to comment.