Skip to content

Commit

Permalink
For enums, use to_string, from_string.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgates3 committed Feb 17, 2024
1 parent 7bbdb58 commit d5bbbf2
Show file tree
Hide file tree
Showing 430 changed files with 2,793 additions and 2,096 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ add_library(
src/unmtr.cc
src/upgtr.cc
src/upmtr.cc
src/util.cc
src/version.cc

src/cuda/cuda_common.cc
Expand Down
20 changes: 17 additions & 3 deletions config/lapack_version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,26 @@

#include "config.h"

#ifdef ACCELERATE_NEW_LAPACK
#pragma message "include Accelerate.h"
#include <Accelerate/Accelerate.h>
#endif

#ifndef LAPACK_ilaver
#pragma message "Fortran name"
#define LAPACK_ilaver FORTRAN_NAME( ilaver, ILAVER )
#endif

#ifdef __cplusplus
extern "C"
#ifndef ACCELERATE_NEW_LAPACK
#pragma message "self-defined"
#ifdef __cplusplus
extern "C"
#endif
void LAPACK_ilaver( lapack_int* major, lapack_int* minor, lapack_int* patch );
#endif
void LAPACK_ilaver( lapack_int* major, lapack_int* minor, lapack_int* patch );

#pragma message "ready"


int main( int argc, char** argv )
{
Expand Down
Loading

0 comments on commit d5bbbf2

Please sign in to comment.