@@ -91,7 +91,6 @@ we propose adding the following free functions to the `cl::sycl` namespace:
91
91
```cpp
92
92
namespace cl {
93
93
namespace sycl {
94
- namespace codeplay {
95
94
96
95
// Performs a static_cast of the contained pointer
97
96
template <typename ElementTypeU, typename ElementTypeT, access::address_space Space>
@@ -113,7 +112,6 @@ template <typename ElementTypeU, typename ElementTypeT, access::address_space Sp
113
112
multi_ptr<ElementTypeU, Space>
114
113
reinterpret_pointer_cast(const multi_ptr<ElementTypeT, Space>& multiPtr);
115
114
116
- } // namespace codeplay
117
115
} // namespace sycl
118
116
} // namespace cl
119
117
```
@@ -139,7 +137,7 @@ but the same operation is valid on any other `multi_ptr` type.
139
137
140
138
``` cpp
141
139
using namespace cl ::sycl;
142
- using namespace codeplay;
140
+
143
141
const global_ptr<int > ptrInt = get_some_global_ptr<int >();
144
142
145
143
// Conversion operator
@@ -175,7 +173,6 @@ struct Derived : public Base {
175
173
};
176
174
177
175
using namespace cl::sycl;
178
- using namespace codeplay;
179
176
const global_ptr<Base> ptrBase = get_some_global_ptr<int>();
180
177
181
178
auto ptrDerived = dynamic_pointer_cast<Derived>(ptrBase);
@@ -186,7 +183,6 @@ auto ptrBase1 = dynamic_pointer_cast<Base>(ptrDerived);
186
183
187
184
``` cpp
188
185
using namespace cl ::sycl;
189
- using namespace codeplay;
190
186
191
187
template <typename ElementType, access::address_space Space>
192
188
void function_taking_ptr(const multi_ptr<ElementType, Space>& ptr);
0 commit comments