Blender Git Loki

Git Commits -> Revision 08aaa07

February 8, 2021, 12:32 (GMT)
Cycles: Use pre-compiled PTX kernel for older generation when no matching one is found

This patch changes the discovery of pre-compiled kernels, to look for any PTX, even if
it does not match the current architecture version exactly. It works because the driver can
JIT-compile PTX generated for architectures less than or equal to the current one.
This e.g. makes it possible to render on a new GPU architecture even if no pre-compiled
binary kernel was distributed for it as part of the Blender installation.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8332

Commit Details:

Full Hash: 08aaa07adbd46e27f4226f29559be156f14a524b
Parent Commit: 5105415
Committed By: Brecht Van Lommel
Lines Changed: +22, -9

4 Modified Paths:

/build_files/cmake/config/blender_release.cmake (+1, -1) (Diff)
/CMakeLists.txt (+1, -1) (Diff)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+18, -5) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021