File tree 1 file changed +1
-8
lines changed
sycl/include/sycl/__spirv
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,7 @@ __DPCPP_SYCL_EXTERNAL inline uint32_t __spirv_SubgroupLocalInvocationId() {
166
166
#endif // defined(__NVPTX__) || defined(__AMDGCN__)
167
167
168
168
#undef __SPIRV_VAR_QUALIFIERS
169
- #ifdef __spirv
170
- #define __RECOVER_SPIRV_MACRO__ __spirv
171
- #undef __spirv
172
- #endif // __spirv
169
+
173
170
namespace __spirv {
174
171
175
172
// Helper function templates to initialize and get vector component from SPIR-V
@@ -209,10 +206,6 @@ __SPIRV_DEFINE_INIT_AND_GET_HELPERS(WorkgroupId)
209
206
__SPIRV_DEFINE_INIT_AND_GET_HELPERS (GlobalOffset)
210
207
211
208
#undef __SPIRV_DEFINE_INIT_AND_GET_HELPERS
212
- #ifdef __RECOVER_SPIRV_MACRO__
213
- #define __spirv __RECOVER_SPIRV_MACRO__
214
- #undef __RECOVER_SPIRV_MACRO__
215
- #endif // __RECOVER_SPIRV_MACRO__
216
209
217
210
} // namespace __spirv
218
211
You can’t perform that action at this time.
0 commit comments