Use default alignment for OpenCL host buffer
commitc410724832aefdbe16c4524eabcf7013b1481a55
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 27 Oct 2015 10:54:34 +0000 (27 11:54 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 28 Oct 2015 18:33:39 +0000 (28 19:33 +0100)
treea559a3c547f7edbd2c3cfd2e57996a33ac3730fe
parent09e2893e131c90ce306e2bc58a9242459e76dd03
Use default alignment for OpenCL host buffer

We're not actually using clCreateBuffer in ways that might require 4KB
alignment for page locking, so reverted back to something that works
with the new implementation of aligned allocation. Transfer times are
unaffected.

Change-Id: Iaad69e931e33ab77f4d67131f96015bfa49f017c
src/gromacs/gmxlib/ocl_tools/oclutils.cpp