diff options
author | Francisco Jerez <[email protected]> | 2013-10-06 13:52:02 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-10-21 10:47:03 -0700 |
commit | 6230f77232a4703c9f98f569104ac03430a5fb95 (patch) | |
tree | 4c07479cdec078d11618edcca5555d75cc49c9d3 /src/gallium/targets/opencl | |
parent | 9a5afd0dbd5cd7d45de926da2299b5a538b9b383 (diff) |
clover: Implement support for the ICD extension.
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/targets/opencl')
-rw-r--r-- | src/gallium/targets/opencl/Makefile.am | 5 | ||||
-rw-r--r-- | src/gallium/targets/opencl/mesa.icd | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am index cdc7500f315..653302c3a57 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@[email protected] diff --git a/src/gallium/targets/opencl/mesa.icd b/src/gallium/targets/opencl/mesa.icd new file mode 100644 index 00000000000..6a6a8706d7c --- /dev/null +++ b/src/gallium/targets/opencl/mesa.icd @@ -0,0 +1 @@ +libMesaOpenCL.so |