File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -366,8 +366,10 @@ static inline int C10_WARP_SIZE_INTERNAL() {
366366extern " C" {
367367C10_IMPORT
368368#if defined(__SYCL_DEVICE_ONLY__)
369- extern SYCL_EXTERNAL void
370- _wassert (const wchar_t * wexpr, const wchar_t * wfile, unsigned line);
369+ extern SYCL_EXTERNAL void _wassert (
370+ const wchar_t * wexpr,
371+ const wchar_t * wfile,
372+ unsigned line);
371373#else
372374#if defined(__CUDA_ARCH__)
373375__host__ __device__
@@ -434,8 +436,11 @@ extern SYCL_EXTERNAL void __assert_fail(
434436 const char * func);
435437#elif (defined(__EMSCRIPTEN__))
436438// As defined in assert.h in the Emscripten stdlib
437- _Noreturn void
438- __assert_fail (const char * expr, const char * file, int line, const char * func);
439+ _Noreturn void __assert_fail (
440+ const char * expr,
441+ const char * file,
442+ int line,
443+ const char * func);
439444#else // __SYCL_DEVICE_ONLY__
440445#if (defined(__CUDA_ARCH__) && !(defined(__clang__) && defined(__CUDA__)))
441446// CUDA supports __assert_fail function which are common for both device
You can’t perform that action at this time.
0 commit comments