Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone benchmarking script #365

Merged
merged 10 commits into from
Oct 15, 2020
Merged
2 changes: 1 addition & 1 deletion cmake/FindLAPACKnames.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# LAPACK_NAMES ... equals "UPPER", "LOWER", "UBACK", or "UFRONT".

set(MANGLING_OPTIONS
"UPPER"
"LOWER"
"UPPER"
"UBACK"
"UFRONT")

Expand Down
22 changes: 12 additions & 10 deletions cmake/lapack_mangling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@
// in the LAPACK library without actually using the fortran compiler.

#if defined LAPACK_UPPER
# define func ILAVER
# define func DPOTRF
#elif defined LAPACK_LOWER
# define func ilaver
# define func dpotrf
#elif defined LAPACK_UBACK
# define func ilaver_
# define func dpotrf_
#elif defined LAPACK_UFRONT
# define func _ilaver
#endif // if defined LAPACK_UP
# define func _dpotrf
#endif // if defined LAPACK_UPPER
extern "C" {
void func(int * major, int * minor, int * patch);
void func(char * UPLO, int * N, double * A, int * LDA, int * INFO);
}
int main(int argc, char ** argv) {
int major = 0;
int minor = 0;
int patch = 0;
func(&major, &minor, &patch);
char UPLO = 'L';
int N = 1;
double A[1];
int LDA = 1;
int INFO = 0;
func(&UPLO, &N, A, &LDA, &INFO);
return 0;
}
22 changes: 20 additions & 2 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,28 @@
Change Log
-------------------------

2.3.9 (Unreleased)
2.3.9 (2020-10-15)
~~~~~~~~~~~~~~~~~~~~~~~~~

* No changes yet
* Add stand-alone benchmarking tool (PR `#365`_).
* Update wheels to use latest OpenBLAS and SuiteSparse (PR `#368`_).
* Tweaks to atmosphere simulation based on calibration campaign (PR `#367`_).
* Add support for 2D polynomial filtering across focalplane (PR `#366`_).
* Ground scheduler support for elevation modulated scans (PR `#364`_).
* Add better dictionary interface to Cache class (PR `#363`_).
* Support simulating basic non-ideal HWP response (PR `#362`_).
* Ground scheduler support for fixed elevations and partial scans (PR `#361`_).
* Additional check for NULL plan returned from FFTW (PR `#360`_).

.. _`#360`: https://github.com/hpc4cmb/toast/pull/360
.. _`#361`: https://github.com/hpc4cmb/toast/pull/361
.. _`#362`: https://github.com/hpc4cmb/toast/pull/362
.. _`#363`: https://github.com/hpc4cmb/toast/pull/363
.. _`#364`: https://github.com/hpc4cmb/toast/pull/364
.. _`#365`: https://github.com/hpc4cmb/toast/pull/365
.. _`#366`: https://github.com/hpc4cmb/toast/pull/366
.. _`#367`: https://github.com/hpc4cmb/toast/pull/367
.. _`#368`: https://github.com/hpc4cmb/toast/pull/368

2.3.8 (2020-06-27)
~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions pipelines/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ install(PROGRAMS
toast_satellite_sim.py
toast_ground_sim.py
toast_ground_sim_simple.py
toast_benchmark.py
DESTINATION bin
)
Loading