aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGil Pitney <gil.pitney@linaro.org>2015-07-17 21:15:40 +0000
committerGil Pitney <gil.pitney@linaro.org>2015-07-17 21:15:40 +0000
commit2b158e8290c75f28395ff7ff32b60635e2b60b5d (patch)
tree4db6aea5ae04340e50994af72ad12e500b0ba74b
parent4c7c1e77f87f92c6cb5f1df5cbb413b80779530f (diff)
downloadshamrock-2b158e8290c75f28395ff7ff32b60635e2b60b5d.tar.gz
clRetainDevice(): return CL_SUCCESS
Minor bug fix, caught thanks to compiler warning. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
-rw-r--r--src/api/api_device.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/api_device.cpp b/src/api/api_device.cpp
index 392b860..d8c3790 100644
--- a/src/api/api_device.cpp
+++ b/src/api/api_device.cpp
@@ -99,6 +99,7 @@ clRetainDevice(cl_device_id device)
device->reference();
+ return CL_SUCCESS;
}
cl_int