Blender Git Loki

Git Commits -> Revision e5179bf

Revision e5179bf by Sergey Sharybin (master)
January 14, 2013, 17:30 (GMT)
Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check for
precompiled cubins instead,

Logic here is following now:
- If there're precompiled cubins, assume CUDA compute is available,
otherwise
- If cuda toolkit found, assume CUDA compute is available
- In all other cases CUDA compute is not available

For windows there're still check for only precompiled binaries,
no runtime compilation is allowed.

Ended up with such decision after discussion with Brecht. The thing
is, if we'll support runtime compilation on windows we'll end up
having lots of reports about different aspects of something doesn't
work (you need particular toolkit version, msvc installed, environment
variables set properly and so) and giving feedback on such reports
will waste time.

Commit Details:

Full Hash: e5179bfefc649cca07077d34d13c574e712d82d0
SVN Revision: 53792
Parent Commit: 36f44c6
Lines Changed: +24, -25

6 Modified Paths:

/intern/cycles/blender/addon/__init__.py (+2, -1) (Diff)
/intern/cycles/CMakeLists.txt (+0, -4) (Diff)
/intern/cycles/device/device_cuda.cpp (+10, -8) (Diff)
/intern/cycles/SConscript (+0, -3) (Diff)
/intern/cycles/util/util_cuda.cpp (+11, -9) (Diff)
/intern/cycles/util/util_cuda.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021