"platforms/cuda/vscode:/vscode.git/clone" did not exist on "6e3526b48a2cd3ea28c2556a1906fd8fe1acfb41"
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 ...@@ -2017,7 +2017,7 @@ void OpenCLCalcCustomGBForceKernel::initialize(const System& system, const Custo
else if (cl.getSIMDWidth() == 32) else if (cl.getSIMDWidth() == 32)
file = OpenCLKernelSources::customGBValueN2_nvidia; file = OpenCLKernelSources::customGBValueN2_nvidia;
else else
OpenCLKernelSources::customGBValueN2_default; file = OpenCLKernelSources::customGBValueN2_default;
cl::Program program = cl.createProgram(cl.replaceStrings(file, replacements), defines); cl::Program program = cl.createProgram(cl.replaceStrings(file, replacements), defines);
pairValueKernel = cl::Kernel(program, "computeN2Value"); 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