summaryrefslogtreecommitdiff
path: root/ufo/ufo-buffer.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-07-30 09:50:49 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-07-30 09:50:49 +0200
commit5bc213c0502bfad8109efa5bc4f995e34854a50e (patch)
tree7a6f74d9873464f62c48ac155dc67d7a2847e7c5 /ufo/ufo-buffer.c
parentbdc8be6c484fe5c63ecc125c10888efddbf4600b (diff)
Disable clCreateImage call
On recent Linux distributions opencl-headers export OpenCL 1.2, NVIDIA, however, implements only OpenCL 1.1. clCreateImage2/3D is deprecated but not dropped, so let's use that for the time being.
Diffstat (limited to 'ufo/ufo-buffer.c')
-rw-r--r--ufo/ufo-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/ufo-buffer.c b/ufo/ufo-buffer.c
index db0012c..995f429 100644
--- a/ufo/ufo-buffer.c
+++ b/ufo/ufo-buffer.c
@@ -114,7 +114,7 @@ alloc_device_array (UfoBufferPrivate *priv)
priv->device_array = mem;
}
-#ifdef CL_VERSION_1_2
+#if 0
static void
alloc_device_image (UfoBufferPrivate *priv)
{