Skip to content

Better handling of floating types #1

@RaulPPelaez

Description

@RaulPPelaez

As of now the library must be compiled for either float or double.

It would be great if we could instead provide the users with a library that works for either type.

This limitation comes from UAMMD, which shares the same "compile for a certain precision" quirk.
One easy solution would be to compile two libraries (a la FFTW) and write a small frontend that redirects to the correct version depending on the input type.
We would end with two versions of each library (say psef.so and psed.so).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions