glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
324 stars 127 forks source link

Correctly define ExpandedMie::param_type.set_memory_hint on GPU #1781

Closed cbkerr closed 2 months ago

cbkerr commented 2 months ago

Description

Correctly define a method needed for GPU builds

Motivation and context

Created errors on GPU builds of the in progress PatchyPotential

error: ‘const struct hoomd::md::EvaluatorPairExpandedMie::param_type’ has no member named ‘set_memory_hint’
   84 |                 pairP.set_memory_hint();

How has this been tested?

Change log

Checklist: