Write OpenCL build log prior to checking build status
authorVedran Miletić <vedran@miletic.net>
Thu, 2 Jun 2016 14:31:48 +0000 (16:31 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Fri, 3 Jun 2016 08:03:24 +0000 (10:03 +0200)
commit4c4c385bcbc381f1e7872a2c4176f233895d87c0
treefde08b852e82bb288eb645d3556e86dfd5f8e1bc
parentd051c40f6adcb00fc9d3f9c4fbbc0ff4f5f1f615
Write OpenCL build log prior to checking build status

If building an OpenCL kernel fails, we still want to let the user know
why the build process failed. Therefore the code has to write the build
log prior to throwing a build failure exception.

Change-Id: I2a8881895379da9ce4b13cf34788357347f1050c
src/gromacs/gpu_utils/ocl_compiler.cpp