Skip to content
Merged
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
10 changes: 5 additions & 5 deletions sycl/include/sycl/stl_wrappers/corecrt.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@

#if defined(__SYCL_DEVICE_ONLY__) && defined(_DEBUG)

#include <cstdint> // For uintptr_t
#include <sycl/detail/defines_elementary.hpp> // For __DPCPP_SYCL_EXTERNAL
#include <cstdint> // For uintptr_t

extern "C" __DPCPP_SYCL_EXTERNAL void __cdecl _invalid_parameter(
wchar_t const *, wchar_t const *, wchar_t const *, unsigned int,
uintptr_t) {
extern "C" inline void __cdecl _invalid_parameter(wchar_t const *,
wchar_t const *,
wchar_t const *, unsigned int,
uintptr_t) {
// Do nothing when called in device code
}

Expand Down
Loading