Skip to content

Commit 6a488c3

Browse files
committed
[SYCL] Add _invoke_watson to corecrt STL wrapper
1 parent afea116 commit 6a488c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/include/sycl/stl_wrappers/corecrt.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ extern "C" inline void __cdecl _invalid_parameter(wchar_t const *,
3636
// Do nothing when called in device code
3737
}
3838

39+
extern "C" __declspec(noreturn) void __cdecl
40+
_invoke_watson(wchar_t const *const expression,
41+
wchar_t const *const function_name,
42+
wchar_t const *const file_name, unsigned int const line_number,
43+
uintptr_t const reserved) {
44+
// Do nothing.
45+
}
46+
3947
#endif
4048

4149
#if defined(__has_include_next)

0 commit comments

Comments
 (0)