summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorEdB <[email protected]>2014-07-27 23:07:39 +0200
committerFrancisco Jerez <[email protected]>2014-07-28 14:46:44 +0200
commit1d3e06c21670df4b83c15e39cbac0bc646177e0b (patch)
tree69edf4ef34ffc18810204f85507d3ff96e1da237 /src/gallium/state_trackers
parent39869423cb082c5feaa5ecf9119d3b97b5cdda88 (diff)
clover: Add clUnloadPlatformCompiler.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/api/dispatch.cpp2
-rw-r--r--src/gallium/state_trackers/clover/api/program.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/api/dispatch.cpp b/src/gallium/state_trackers/clover/api/dispatch.cpp
index 43b5537106a..35d150d6dc8 100644
--- a/src/gallium/state_trackers/clover/api/dispatch.cpp
+++ b/src/gallium/state_trackers/clover/api/dispatch.cpp
@@ -124,7 +124,7 @@ namespace clover {
clCreateProgramWithBuiltInKernels,
NULL, // clCompileProgram
NULL, // clLinkProgram
- NULL, // clUnloadPlatformCompiler
+ clUnloadPlatformCompiler,
NULL, // clGetKernelArgInfo
NULL, // clEnqueueFillBuffer
NULL, // clEnqueueFillImage
diff --git a/src/gallium/state_trackers/clover/api/program.cpp b/src/gallium/state_trackers/clover/api/program.cpp
index 293a61fdfa8..b81ce69652f 100644
--- a/src/gallium/state_trackers/clover/api/program.cpp
+++ b/src/gallium/state_trackers/clover/api/program.cpp
@@ -180,6 +180,11 @@ clUnloadCompiler() {
}
CLOVER_API cl_int
+clUnloadPlatformCompiler(cl_platform_id d_platform) {
+ return CL_SUCCESS;
+}
+
+CLOVER_API cl_int
clGetProgramInfo(cl_program d_prog, cl_program_info param,
size_t size, void *r_buf, size_t *r_size) try {
property_buffer buf { r_buf, size, r_size };