HiRep 0.1
Loading...
Searching...
No Matches
test_complex.h
Go to the documentation of this file.
1
6#ifndef TEST_COMPLEX_H
7#define TEST_COMPLEX_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#ifdef WITH_GPU
14#ifndef WITH_MPI
15// These tests only exist to check
16// the integration of the definition
17// of the custom c++ complex types
18// with the c native complex numbers
19// test without MPI.
20
21// CPU consistency checks
22int test_gpu_complex();
23int test_overload_plus_rhs_double();
24int test_overload_plus_lhs_double();
25int test_overload_prod_rhs_double();
26int test_overload_prod_lhs_double();
27int test_overload_div_rhs_double();
28int test_overload_div_lhs_double();
29int test_overload_plus_hr_complex();
30int test_overload_minus_hr_complex();
31int test_overload_prod_hr_complex();
32int test_overload_div_hr_complex();
33int test_negate();
34int test_cast_double();
35int test_I_add();
36int test_I_prod();
37
38// Test CPU against GPU
39int check_plus();
40int check_minus();
41int check_mul();
42int check_div();
43
44#endif
45#endif
46#ifdef __cplusplus
47}
48#endif
49#endif