Commit 9793648 1 parent 75b6181 commit 9793648 Copy full SHA for 9793648
File tree 6 files changed +97
-0
lines changed
test/xpu_api/numerics/special/bessel
6 files changed +97
-0
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
9
25
#include " support/test_complex.h"
10
26
11
27
// cyl_bessel_i
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
9
25
#include " support/test_complex.h"
10
26
11
27
// cyl_bessel_if
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
9
25
#include " support/test_complex.h"
10
26
11
27
// cyl_bessel_j
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
9
25
#include " support/test_complex.h"
10
26
11
27
// cyl_bessel_jf
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
9
25
#include " support/test_complex.h"
10
26
11
27
// cyl_bessel_jl
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #if defined(_GLIBCXX_RELEASE)
10
+ #ifdef __SYCL_DEVICE_ONLY__
11
+ // Required to define these before all includes
12
+ namespace std
13
+ {
14
+ SYCL_EXTERNAL void __throw_domain_error (const char *)
15
+ {
16
+ }
17
+
18
+ SYCL_EXTERNAL void __throw_runtime_error (const char *)
19
+ {
20
+ }
21
+ };
22
+ #endif // __SYCL_DEVICE_ONLY__
23
+ #endif
24
+
25
+
9
26
#include " support/test_complex.h"
10
27
11
28
// cyl_bessel_jl
You can’t perform that action at this time.
0 commit comments