Skip to content

Update verification check to save memory #128

Description

@tomdeakin

The OpenMP CPU version allocates twice the memory it needs restricting the maximum problem size.

For offload models, this is OK as the data needs to exists on the device during the run and on the host during verification.

This could be solved by asking the implementations to pass a pointer to host data back to the driver routine for checking, rather than copying into a vector allocated by the driver.
This would allow implementations to do save memory where possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions