Commit b2c28984 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed bug on AMD processors

parent 6f4944e0
......@@ -2017,7 +2017,7 @@ void OpenCLCalcCustomGBForceKernel::initialize(const System& system, const Custo
else if (cl.getSIMDWidth() == 32)
file = OpenCLKernelSources::customGBValueN2_nvidia;
else
OpenCLKernelSources::customGBValueN2_default;
file = OpenCLKernelSources::customGBValueN2_default;
cl::Program program = cl.createProgram(cl.replaceStrings(file, replacements), defines);
pairValueKernel = cl::Kernel(program, "computeN2Value");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment