From cd6de216b886531f1d114194f6cefc2fb5a555e1 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 29 Jun 2022 13:59:09 +0200 Subject: [PATCH] Memory alignment in qmckl_malloc --- org/qmckl_ao.org | 6 +++--- org/qmckl_memory.org | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/org/qmckl_ao.org b/org/qmckl_ao.org index 2f02ce8..2e262b7 100644 --- a/org/qmckl_ao.org +++ b/org/qmckl_ao.org @@ -6536,7 +6536,7 @@ qmckl_compute_ao_vgl_hpc_gaussian ( /* --- */ - switch (512) { + switch (8) { case(5): for (int i=0 ; i> 6) << 6 ); +#else void * pointer = malloc(info.size); +#endif if (pointer == NULL) { return NULL; }