Skip to content

Commit 52fbc10

Browse files
committed
Merge branch 'sycl' into review/yang/fix_msan_empty_kernel
2 parents f32be78 + 7793682 commit 52fbc10

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,9 +850,12 @@ else ()
850850
if (CAN_TARGET_${arch})
851851
cmake_push_check_state()
852852
# TODO: we should probably make most of the checks in builtin-config depend on the target flags.
853-
message(STATUS "Performing additional configure checks with target flags: ${TARGET_${arch}_CFLAGS}")
854853
set(BUILTIN_CFLAGS_${arch} ${BUILTIN_CFLAGS})
855-
list(APPEND CMAKE_REQUIRED_FLAGS ${TARGET_${arch}_CFLAGS} ${BUILTIN_CFLAGS_${arch}})
854+
# CMAKE_REQUIRED_FLAGS must be a space separated string but unlike TARGET_${arch}_CFLAGS,
855+
# BUILTIN_CFLAGS_${arch} is a CMake list, so we have to join it to create a valid command line.
856+
list(JOIN BUILTIN_CFLAGS " " CMAKE_REQUIRED_FLAGS)
857+
set(CMAKE_REQUIRED_FLAGS "${TARGET_${arch}_CFLAGS} ${BUILTIN_CFLAGS_${arch}}")
858+
message(STATUS "Performing additional configure checks with target flags: ${CMAKE_REQUIRED_FLAGS}")
856859
# For ARM archs, exclude any VFP builtins if VFP is not supported
857860
if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em|armv8m.main|armv8.1m.main)$")
858861
string(REPLACE ";" " " _TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}")

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

Lines changed: 1 addition & 0 deletions
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-e2e/Assert/assert_in_multiple_tus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// XFAIL: (opencl && gpu)
1010
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/11364
1111

12-
// UNSUPPORTED: gpu-intel-dg2
13-
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/15029
12+
// Test requires at least this version of the Intel GPU driver on Arc.
13+
// REQUIRES-INTEL-DRIVER: lin: 31294
1414

1515
// RUN: %{build} -DSYCL_FALLBACK_ASSERT=1 -I %S/Inputs %S/Inputs/kernels_in_file2.cpp -o %t.out
1616
// RUN: %{run} %t.out &> %t.txt ; FileCheck %s --input-file %t.txt %if fpga %{ --check-prefix=CHECK-ACC %}

sycl/test/abi/layout_vec.cpp

Lines changed: 2 additions & 2 deletions
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)