summaryrefslogtreecommitdiff
path: root/include/opencl
diff options
context:
space:
mode:
authorLaszlo Nemeth <nemeth@numbertext.org>2016-07-25 15:37:18 +0300
committerTor Lillqvist <tml@collabora.com>2016-07-26 07:41:38 +0000
commit00a58dfead6e05724b252f74e24f9f6c89a68d76 (patch)
treeefce2894ec854c343e7bcf5d57a3ceacba4a76a2 /include/opencl
parenteee5d67d06c8e0c81ab0874171af0d5c4de18860 (diff)
Need to try to avoid TDR also with NVIDIA cards on Windows 7 or earlier
(TDR is Timeout detection and recovery, was introduced in Vista.) Change-Id: Ic49629adf7630e61cebcdfcc431ca96ba3fbaf7e Reviewed-on: https://gerrit.libreoffice.org/27518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/opencl')
-rw-r--r--include/opencl/openclwrapper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx
index afd34c680fbc..dae119292c25 100644
--- a/include/opencl/openclwrapper.hxx
+++ b/include/opencl/openclwrapper.hxx
@@ -47,7 +47,7 @@ struct OPENCL_DLLPUBLIC GPUEnv
int mnCmdQueuePos;
bool mnKhrFp64Flag;
bool mnAmdFp64Flag;
- cl_uint mnPreferredVectorWidthFloat;
+ bool mbNeedsTDRAvoidance;
static bool isOpenCLEnabled();
};