Skip to content

[SYCL][LIT] Failure in SYCL::basic_tests/min_max_test.cpp on Windows #8717

Closed
@uditagarwal97

Description

@uditagarwal97

Describe the bug
LIT test failure of SYCL::basic_tests/min_max_test.cpp on Windows.

Environment (please complete the following information):

  • OS: Windows
  • Target device and vendor: Intel GPU Gen12
  • DPC++ version: c5c7ac2 (Likely culprit: c5c7ac2)

Error Log

FAIL: SYCL :: basic_tests/min_max_test.cpp (66 of 428)
******************** TEST 'SYCL :: basic_tests/min_max_test.cpp' FAILED ********************
Script:
--
: 'RUN: at line 2';   d:\github\_work\llvm\llvm\build\bin\clang.exe --driver-mode=g++  -fsycl -fsycl-device-only -fsyntax-only -Xclang -verify D:\github\_work\llvm\llvm\src\sycl\test\basic_tests\min_max_test.cpp -I D:/github/_work/llvm/llvm/build/include
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "d:\github\_work\llvm\llvm\build\bin\clang.exe" "--driver-mode=g++" "-fsycl" "-fsycl-device-only" "-fsyntax-only" "-Xclang" "-verify" "D:\github\_work\llvm\llvm\src\sycl\test\basic_tests\min_max_test.cpp" "-I" "D:/github/_work/llvm/llvm/build/include"
# command stderr:
error: 'error' diagnostics seen but not expected: 
  Line 932: expected ')'
  Line 932: expected ')'
  Line 932: expected ')'
  Line 932: use of variable template 'T' requires template arguments
  File d:\github\_work\llvm\llvm\build\bin\..\include\sycl/builtins.hpp Line 932: expected ';' at end of declaration
  Line 933: expected ')'
  Line 933: expected ')'
  Line 933: expected ')'
  Line 933: redefinition of 'T'
  Line 933: use of variable template 'T' requires template arguments
  File d:\github\_work\llvm\llvm\build\bin\..\include\sycl/builtins.hpp Line 935: expected ';' at end of declaration
  Line 936: expected ')'
  Line 936: expected ')'
  Line 936: expected ')'
  Line 936: redefinition of 'T'
  Line 936: use of variable template 'T' requires template arguments
  File d:\github\_work\llvm\llvm\build\bin\..\include\sycl/builtins.hpp Line 936: expected ';' at end of declaration
  Line 937: expected ')'
  Line 937: expected ')'
  (frontend): too many errors emitted, stopping now
error: 'note' diagnostics seen but not expected: 
  Line 932: to match this '('
  Line 932: to match this '('
  Line 932: to match this '('
  Line 932: template is declared here
  Line 933: to match this '('
  Line 933: to match this '('
  Line 933: to match this '('
  Line 932: previous definition is here
  Line 932: template is declared here
  Line 936: to match this '('
  Line 936: to match this '('
  Line 936: to match this '('
  Line 932: previous definition is here
  Line 932: template is declared here
  Line 937: to match this '('
  Line 937: to match this '('
36 errors generated.

error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  SYCL :: basic_tests/min_max_test.cpp

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions