Skip to content

Commit 5f25e25

Browse files
KornevNikitasarnex
andauthored
[SYCL] Fix errors when building with GCC 13 (#16480) (#16556)
For the ABI check, the problem is libstdc++ changed the name of the template, so change the check to be more general. For the header, my guess is the new libstdc++ version doesn't include this header internally in some header we include anymore. Signed-off-by: Sarnie, Nick <[email protected]> Co-authored-by: Nick Sarnie <[email protected]>
1 parent e2c89a9 commit 5f25e25

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sycl/include/sycl/ext/intel/fpga_lsu.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#pragma once
99

1010
#include "fpga_utils.hpp"
11+
#include <cstdint>
1112
#include <sycl/detail/defines.hpp>
1213
#include <sycl/pointers.hpp>
1314

sycl/test/abi/layout_vec.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SYCL_EXTERNAL void foo(sycl::vec<int, 4>) {}
1313
// CHECK: 0 | class sycl::vec<int, 4>
1414
// ignore empty base classes
1515
// CHECK: 0 | struct std::array<int, 4> m_Data
16-
// CHECK-NEXT: 0 | typename _AT_Type::_Type _M_elems
16+
// CHECK-NEXT: 0 | typename {{.+}}::_Type _M_elems
1717
// CHECK-NEXT: | [sizeof=16, dsize=16, align=16,
1818
// CHECK-NEXT: | nvsize=16, nvalign=16]
1919

@@ -24,6 +24,6 @@ SYCL_EXTERNAL void foo(sycl::vec<bool, 16>) {}
2424
// CHECK: 0 | class sycl::vec<_Bool, 16>
2525
// ignore empty base classes
2626
// CHECK: 0 | struct std::array<_Bool, 16> m_Data
27-
// CHECK-NEXT: 0 | typename _AT_Type::_Type _M_elems
27+
// CHECK-NEXT: 0 | typename {{.+}}::_Type _M_elems
2828
// CHECK-NEXT: | [sizeof=16, dsize=16, align=16,
2929
// CHECK-NEXT: | nvsize=16, nvalign=16]

0 commit comments

Comments
 (0)