Add basic interface to run update on GPU
[alexxy/gromacs.git] / src / api / cpp / context.cpp
index 589ae10b8adb77c9f07e803fba0f478f2ccd9d10..a2fccfc99ebb1439902df226f67ae18041eefe37 100644 (file)
@@ -186,6 +186,7 @@ std::shared_ptr<Session> ContextImpl::launch(const Workflow &work)
         // \todo pass by value
         builder.addElectrostatics(options_.pme_opt_choices[0], options_.pme_fft_opt_choices[0]);
         builder.addBondedTaskAssignment(options_.bonded_opt_choices[0]);
+        builder.addUpdateTaskAssignment(options_.update_opt_choices[0]);
         builder.addNeighborList(options_.nstlist_cmdline);
         builder.addReplicaExchange(options_.replExParams);
         // \todo take ownership of multisim resources (ms)