diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2016-07-01 20:49:19 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-07-08 09:48:33 +0200 |
commit | 36ffa7bece5f6c6a89b947d04c9e53aaf903df1e (patch) | |
tree | d7814c90843280cb4c25fe3aaeb1873e16485a68 /opencl | |
parent | b2bf34141fdb41abfe421931dcfc093457f30d2d (diff) |
cui: add calculation mode to Help->About.
Reviewed-on: https://gerrit.libreoffice.org/26964
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
(cherry picked from commit adc3932dfc4fe763b7db0af8843b01614bdc6aa2)
Change-Id: I4765436bed8a58c5097afcf7dce768d3ec325015
Reviewed-on: https://gerrit.libreoffice.org/27004
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2a93d7221672d4fec38a265780af114d2756dbfc)
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/source/openclwrapper.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index 8d57ae44e260..384e9eb03310 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -859,6 +859,11 @@ const char* errorString(cl_int nError) #undef CASE } +bool GPUEnv::isOpenCLEnabled() +{ + return gpuEnv.mpDevID; +} + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |