Rework nblib kernel checks and setup code
[alexxy/gromacs.git] / api / nblib / gmxsetup.cpp
index 27ead291e8675b69ea2660253d7c92d1a75b252f..e90cba391027dddcc2b4ef87f145ff9fac6f20aa 100644 (file)
@@ -76,15 +76,10 @@ void NbvSetupUtil::setExecutionContext(const NBKernelOptions& options)
     setGmxNonBondedNThreads(options.numOpenMPThreads);
 }
 
-Nbnxm::KernelSetup NbvSetupUtil::getKernelSetup(const NBKernelOptions& options)
-{
-    return createKernelSetupCPU(options);
-}
-
 void NbvSetupUtil::setParticleInfoAllVdv(const size_t numParticles)
 
 {
-    particleInfoAllVdw_ = createParticleInfoAllVdv(numParticles);
+    particleInfoAllVdw_ = createParticleInfoAllVdw(numParticles);
 }
 
 void NbvSetupUtil::setNonBondedParameters(const std::vector<ParticleType>& particleTypes,