diff --git a/include/spral_compat.hxx b/include/spral_compat.hxx index 2af97c1575..a063853f37 100644 --- a/include/spral_compat.hxx +++ b/include/spral_compat.hxx @@ -13,14 +13,6 @@ #include "spral_config.h" -// #ifndef HAVE_STD_ALIGN -// // Older versions of g++ (and intel that relies on equivalent -lstdc++) don't -// // define std::align, so we do it ourselves. -// namespace std { -// void* align(std::size_t alignment, std::size_t size, void*& ptr, std::size_t& space) noexcept; -// } /* namespace std */ -// #endif /* HAVE_STD_ALIGN */ - #ifndef _OPENMP inline int omp_get_thread_num(void) { return 0; } inline int omp_get_num_threads(void) { return 1; } diff --git a/include/spral_config.h b/include/spral_config.h index c02850d406..16fb9df934 100644 --- a/include/spral_config.h +++ b/include/spral_config.h @@ -81,7 +81,7 @@ #define PACKAGE_NAME "spral" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "spral 2016.06.24" +#define PACKAGE_STRING "spral 2023.11.15" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "spral" @@ -90,7 +90,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2016.06.24" +#define PACKAGE_VERSION "2023.11.15" /* Define to 1 to enable profiling */ /* #undef PROFILE */ @@ -99,4 +99,4 @@ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "2016.06.24" +#define VERSION "2023.11.15" diff --git a/src/spral/compat.cxx b/src/spral/compat.cxx index 93d63c0391..29690576cb 100644 --- a/src/spral/compat.cxx +++ b/src/spral/compat.cxx @@ -21,23 +21,3 @@ #else #undef HAVE_SCHED_GETCPU #endif - -// #ifndef HAVE_STD_ALIGN -// Older versions of g++ (and intel that relies on equivalent -lstdc++) don't -// define std::align, so we do it ourselves. -// If there is insufficient space, return nullptr -// namespace std { -// void* align(std::size_t alignment, std::size_t size, void*& ptr, std::size_t& space) noexcept { -// auto cptr = reinterpret_cast(ptr); -// auto pad = cptr % alignment; -// if(pad == 0) return (size>space) ? nullptr : ptr; -// pad = alignment - pad; -// if(size+pad > space) return nullptr; -// cptr += pad; -// space -= pad; -// ptr = reinterpret_cast(cptr); -// return ptr; -// } -// } /* namespace std */ -// #endif -