Ensure minimum exec width of the PME OpenCL kernels
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 31 Oct 2018 20:04:02 +0000 (21:04 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 7 Nov 2018 11:55:42 +0000 (12:55 +0100)
commit691f1d0e45f14973c466dc27d32d901358679139
treee8b62734823023e73f0bd2f294fc99e8d3fbe2bd
parent6fa4958de9d9a9a3bb3e0129218aa18e40758775
Ensure minimum exec width of the PME OpenCL kernels

This change adds checks to make sure that we don't execute incorrect
kernels in the case of the rare event if the Intel OpenCL compiler
decides to generate spread or gather kernels for 8-wide execution.

Refs #2516 #2520

Change-Id: I7ab33accebe908a56eb194e8245dfcfa6f817324
src/gromacs/ewald/pme-gpu-constants.h
src/gromacs/ewald/pme-gpu-program-impl-ocl.cpp
src/gromacs/gpu_utils/ocl_compiler.cpp
src/gromacs/gpu_utils/ocl_compiler.h