I'm new to the list so apologies if you've discussed this before, but;
I'd like to add a fortran interface to the hbw_malloc stuff to enable
calling hbw_malloc from fortran (at the moment to support KNL).
I know this isn't the proposed model for fortran access to multi-level
memory, but I work on some fortran code that call malloc to do their
memory mamagement, and I'd like to extend this to use hbw_malloc.
In the first instance this is probably as simple as adding versions of
the routines with "_" at the end to enable easy linking from fortran to
C. In the long run it'd be sensible to have a proper Fortran interface
to safely deal with the datatype (iso c binding).
Of course I could have overlooked some obvious reason why this is not
desirable, but the basic tests I've done with the memkind-dev branch
shows it seems to work.
I'd appreciate your feedback on this.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.