Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-05-05 13:59:25 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-05-05 16:06:49 +0300
commitd97c83712cf8d133beb77573fac35c459a64d827 (patch)
treeaa748fe3d3074b96b266bbda2db99025512b73a2 /intern/cycles/device
parentda48defcfacd535f21542f40cee4730382ed6b85 (diff)
Cycles: mark CUDA 10.2 as officially supported
It appears to work fine after a recent bugfix and testing for the past few weeks.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/cuda/device_cuda_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/cuda/device_cuda_impl.cpp b/intern/cycles/device/cuda/device_cuda_impl.cpp
index 0f261ef2f70..ba5d479e0e7 100644
--- a/intern/cycles/device/cuda/device_cuda_impl.cpp
+++ b/intern/cycles/device/cuda/device_cuda_impl.cpp
@@ -421,10 +421,10 @@ string CUDADevice::compile_kernel(const DeviceRequestedFeatures &requested_featu
nvcc_cuda_version % 10);
return string();
}
- else if (nvcc_cuda_version != 101) {
+ else if (!(nvcc_cuda_version == 101 || nvcc_cuda_version == 102)) {
printf(
"CUDA version %d.%d detected, build may succeed but only "
- "CUDA 10.1 is officially supported.\n",
+ "CUDA 10.1 and 10.2 are officially supported.\n",
nvcc_cuda_version / 10,
nvcc_cuda_version % 10);
}