Skip to content

Commit 1ce46c9

Browse files
authored
[SYCL][NFCI] Undef leaked macro definitions (#2771)
1 parent 3b8af22 commit 1ce46c9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

sycl/include/CL/sycl/detail/builtins.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ __SYCL_MAKE_CALL_ARG3(select, __FUNC_PREFIX_OCL) // select
286286
#undef __SYCL_MAKE_CALL_ARG1
287287
#undef __SYCL_MAKE_CALL_ARG2
288288
#undef __SYCL_MAKE_CALL_ARG2_SAME
289+
#undef __SYCL_MAKE_CALL_ARG2_SAME_RESULT
289290
#undef __SYCL_MAKE_CALL_ARG3
290291
#undef __SYCL_PPCAT_NX
291292
#undef __SYCL_PPCAT

sycl/include/CL/sycl/swizzles.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,3 +820,4 @@ __SYCL_ACCESS(N == 16, even, 0, 2, 4, 6, 8, 10, 12, 14)
820820
#undef __SYCL_EXPAND
821821
#undef __SYCL_INDEXER
822822
#undef __SYCL_ACCESS
823+
#undef __SYCL_SCALAR_ACCESS

sycl/include/CL/sycl/types.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,7 @@ __SYCL_DECLARE_FLOAT_VECTOR_CONVERTERS(double)
22702270
#undef __SYCL_DECLARE_BOOL_VECTOR_CONVERTERS
22712271
#undef __SYCL_DECLARE_BOOL_CONVERTER
22722272
#undef __SYCL_DECLARE_SCALAR_BOOL_CONVERTER
2273+
#undef __SYCL_USE_EXT_VECTOR_TYPE__
22732274

22742275
} // namespace sycl
22752276
} // __SYCL_INLINE_NAMESPACE(cl)

0 commit comments

Comments
 (0)