summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaszlo Nemeth <nemeth@numbertext.org>2016-07-25 16:02:10 +0300
committerCaolán McNamara <caolanm@redhat.com>2016-07-25 19:39:50 +0000
commit0a2cefe5b6fa010f02da6eecae85c09b308f9fd1 (patch)
tree0c01ae4592d1156b0ba9d0cfff0a13436e7421a1 /include
parente13db0f16c4ac5a243587e881d7b18979d07f478 (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: I0be565036c72dadcbec40b6fb9d5154dfacd0860 Reviewed-on: https://gerrit.libreoffice.org/27519 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-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();
};