summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/opencl
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2013-10-06 13:52:02 -0700
committerFrancisco Jerez <currojerez@riseup.net>2013-10-21 10:47:03 -0700
commit6230f77232a4703c9f98f569104ac03430a5fb95 (patch)
tree4c07479cdec078d11618edcca5555d75cc49c9d3 /src/gallium/targets/opencl
parent9a5afd0dbd5cd7d45de926da2299b5a538b9b383 (diff)
downloadexternal_mesa3d-6230f77232a4703c9f98f569104ac03430a5fb95.zip
external_mesa3d-6230f77232a4703c9f98f569104ac03430a5fb95.tar.gz
external_mesa3d-6230f77232a4703c9f98f569104ac03430a5fb95.tar.bz2
clover: Implement support for the ICD extension.
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/gallium/targets/opencl')
-rw-r--r--src/gallium/targets/opencl/Makefile.am5
-rw-r--r--src/gallium/targets/opencl/mesa.icd1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index cdc7500..653302c 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -33,6 +33,11 @@ lib@OPENCL_LIBNAME@_la_SOURCES =
# Force usage of a C++ linker
nodist_EXTRA_lib@OPENCL_LIBNAME@_la_SOURCES = dummy.cpp
+if HAVE_CLOVER_ICD
+icddir = /etc/OpenCL/vendors/
+icd_DATA = mesa.icd
+endif
+
# Provide compatibility with scripts for the old Mesa build system for
# a while by putting a link to the driver into /lib of the build tree.
all-local: lib@OPENCL_LIBNAME@.la
diff --git a/src/gallium/targets/opencl/mesa.icd b/src/gallium/targets/opencl/mesa.icd
new file mode 100644
index 0000000..6a6a870
--- /dev/null
+++ b/src/gallium/targets/opencl/mesa.icd
@@ -0,0 +1 @@
+libMesaOpenCL.so