Skip to content

[SYCL] Address tests failures after #6469 #6506 #6509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions sycl/test/basic_tests/no_iostream.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %clangxx -fsycl %s -S -emit-llvm -o- | FileCheck %s
// CHECK-NOT: {{^@}}
// CHECK-NOT: {{^@llvm.global_ctors}}
//
// Tests if <sycl/sycl.hpp> headers include any <iostream> headers
// Tests if inclusion <sycl/sycl.hpp> causes execution of global ctors
// and related performance hit.

#include <sycl/sycl.hpp>
4 changes: 4 additions & 0 deletions sycl/test/regression/fsycl-host-compiler-win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

#include <sycl/sycl.hpp>

// FIXME: Modify <sycl/details/iostream_proxy.hpp> so that it would require
// proper libs via "#pragma comment(lib, ...)".
#include <iostream>

#ifndef DEFINE_CHECK
#error predefined macro not set
#endif // DEFINE_CHECK
Expand Down