Merge pull request #3549 from martin-frbg/issue3543
Annotate LAPACKE_lsame with attribute const for GCC(+compatible)
This commit is contained in:
commit
10b0428b2c
|
@ -67,7 +67,11 @@ extern "C" {
|
||||||
void LAPACKE_xerbla( const char *name, lapack_int info );
|
void LAPACKE_xerbla( const char *name, lapack_int info );
|
||||||
|
|
||||||
/* Compare two chars (case-insensitive) */
|
/* Compare two chars (case-insensitive) */
|
||||||
lapack_logical LAPACKE_lsame( char ca, char cb );
|
lapack_logical LAPACKE_lsame( char ca, char cb )
|
||||||
|
#if defined __GNUC__
|
||||||
|
__attribute__((const))
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
/* Functions to convert column-major to row-major 2d arrays and vice versa. */
|
/* Functions to convert column-major to row-major 2d arrays and vice versa. */
|
||||||
void LAPACKE_cgb_trans( int matrix_layout, lapack_int m, lapack_int n,
|
void LAPACKE_cgb_trans( int matrix_layout, lapack_int m, lapack_int n,
|
||||||
|
|
Loading…
Reference in New Issue