Skip to content

Issues with CRTP Evaluate on GPUs #393

@pdmullen

Description

@pdmullen

I am experiencing an issue in a downstream app wherein an Evaluate call (see

template <typename Functor_t>
constexpr void Evaluate(Functor_t &f) const {
CRTP copy = *(static_cast<CRTP const *>(this));
f(copy);
}
) leads to data corruption on GPUs (volta with nvhpc). I can seemingly only encounter the issue when working with Spiner EOS tables.

Printing data at addresses from explicit ptrs inside and outside the Evaluate call show differing values.

@jonahm-LANL asked me to make an issue --- we will work on isolating the problem to see if this is a downstream app or singularity issue. If the latter, I am sure a reproducer is in order...

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