Skip to content

Reply To: Check point using GPU

#7774
Adrian
Keymaster

The load and save methods operate on host-side data. So the only thing missing in your listing is to call sLattice.setProcessingContext(ProcessingContext::Evaluation) prior to sLattice.save resp. sLattice.setProcessingContext(ProcessingContext::Simulation) after sLattice.load.

This will probably be automated at some point but due to the configurability of device-synchronization and serialization this is not as simple as it might look if one wants to prevent getting a weird mixture of states between device- and host-side.