Skip to content

Commit adcaed5

Browse files
[SYCL] Switch _ExtInt to _BitInt in spirv_types.hpp (#7099)
_ExtInt has been deprecated in favor for _BitInt in the intel/llvm compiler, so the spirv_types.hpp header needs to be updated to using the right datatype.
1 parent 70d945c commit adcaed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/CL/__spirv/spirv_types.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ namespace sycl {
180180
__SYCL_INLINE_VER_NAMESPACE(_V1) {
181181
namespace detail {
182182
// Arbitrary precision integer type
183-
template <int Bits> using ap_int = _ExtInt(Bits);
183+
template <int Bits> using ap_int = _BitInt(Bits);
184184
} // namespace detail
185185
} // __SYCL_INLINE_VER_NAMESPACE(_V1)
186186
} // namespace sycl

0 commit comments

Comments
 (0)