Luca Heltai
36704e640b
Replace _Bool with bool in C interface headers for C++ compatibility
...
_Bool is a C11 keyword that is not recognized by C++ compilers,
causing build failures when PSBLAS headers are included from C++.
The headers already include <stdbool.h> (via psb_c_base.h) which
defines bool as a portable alias, so use bool instead of _Bool.
This fixes errors like:
error: unknown type name '_Bool'
in psb_c_dsprn(), psb_c_ssprn(), psb_c_csprn(), psb_c_zsprn().
5 days ago
sfilippone
09308b5c7d
various changes, including test matrix generators
2 months ago
Fabio Durastante
116219b6fe
Added support for CSC matrices in c interfaces
3 months ago
Fabio Durastante
1ee1b83341
Added routine to extract single element from sparse matrix
3 months ago
Marco Feder
cbf71f6b97
Add variants with other vector types
4 months ago
Marco Feder
25b51b4cf7
Expose reinit with clear option
4 months ago
Salvatore Filippone
174a8fc542
Fix use of psb_ext_mod from cbind
5 months ago
sfilippone
897d466013
Define DESC%check_addr for debugging
5 months ago
Fabio Durastante
42925ae5ae
Fixed names of constant and order of arguments in asb routines
5 months ago
sfilippone
3965c3a526
Modified psb_config and machinery for better C interfacing
5 months ago
sfilippone
fe7a4174e0
Fix build for CBIND
6 months ago
Salvatore Filippone
78c33d3631
Fix tools_cbind
6 months ago
Salvatore Filippone
3b2630911b
Fix dependency on CBIND penv
6 months ago
sfilippone
48070b2cea
Further fixes for string_c2f
6 months ago
sfilippone
d7b22f0538
Fix string_c2f
6 months ago
Fabio Durastante
c586e53799
Added C functions for making available GPU support from the C interface
6 months ago
sfilippone
a401f60215
Fix expose geasb options to all variants S/D/C/Z.
7 months ago
Marco Feder
4aaf72d1e8
Expose dgeasb with dupl options
7 months ago
sfilippone
5333117010
Fix vect_clone, expose to C interface
7 months ago
Fabio Durastante
22eafb9140
Fixed naming of function
8 months ago
Fabio Durastante
c8c3124e4e
Exposed bldmode and remote assembly
8 months ago
Marco Feder
cd72888cd4
Expose variant of psb_cdins() with local indices to C interface
9 months ago
Marco Feder
1bba419d79
Add local indices to psb_c_cdall C interface
9 months ago
Fabio Durastante
f120015ff5
Exposed psb_c_cd_is_asb to check is descriptor is assembled
9 months ago
Fabio Durastante
4cd6cf21d0
Exposed to c the psb_is_owned function
9 months ago
Fabio Durastante
d16b39ed1b
Exposed psb_c_cd_get_global_cols into header file
9 months ago
Fabio Durastante
a2160b7ba0
Fixed import of complex.h for compatibility with C++
12 months ago
Fabio Durastante
b51dc38140
Added C interface to initialize communicator from existing MPI communicator
12 months ago
sfilippone
07fa2323eb
Fixes for IPK8
1 year ago
sfilippone
243fe4e78f
Split type definitions from psb_config
1 year ago
sfilippone
ea6c4181f7
Changed all defines with prefix PSB_
1 year ago
sfilippone
2b23f4bdc2
Mv fakempi to psb_fakempi.{c|h}. psb_c_base.h include psb_config.h
1 year ago
Salvatore Filippone
bcc85e47fd
Fix Makefiles for parallel make
4 years ago
cirdans-home
b664291532
Added C interface for remote vector allocate
4 years ago
Salvatore Filippone
fc81367fef
Changes for remote build interfaces. Implementation to be completed.
4 years ago
Cirdans-Home
13153e03dc
Added c interface for remotebuild
4 years ago
Salvatore Filippone
1337009f91
Infrastructure for non-local matrix build
4 years ago
Cirdans-Home
874dd7825e
Fix for C++ typedef vs using
5 years ago
Cirdans-Home
c1727fec5d
Implemented C/C++ fix for complex.h
5 years ago
Cirdans-Home
c38660c76c
Added function psb_c_g2l
5 years ago
Cirdans-Home
bee4bebd7a
Fixed missing bind(c)
5 years ago
Cirdans-Home
ce1da012c9
added vect_set_vect
5 years ago
Cirdans-Home
10bdde008b
Fixed gather name function
5 years ago
Salvatore Filippone
8bc575d319
Fix bug in psb_check_error()
5 years ago
Salvatore Filippone
69b1678f6b
Missing index base adjustment in psb_c_cdins
5 years ago
Salvatore Filippone
0cdd36edf3
Fix get_global_indices to account for index base
5 years ago
Salvatore Filippone
4c91ab66f2
c_check_error() should take ctxt by value
5 years ago
Salvatore Filippone
4f1b568b99
Fix uninitialized info
5 years ago
Salvatore Filippone
875ef40724
Missing USE statement for psb_error_check, make it public
5 years ago
Salvatore Filippone
aeb1397e9f
Fix error_impl, and add check_error()
5 years ago