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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-01-06 12:13:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-01-06 12:13:21 +0300
commita922be9270496de95b8c8a4ec7923dd0cb50f184 (patch)
treefe416d0abfe21f88b1f7de94de763e0e0742e4f8 /intern/cycles/blender/addon/engine.py
parente961c06a6ea9fbe48a375eaf78fd2ca536bd430e (diff)
Cycles: Repot CPU and CUDA capabilities to system info operator
For CPU it gives available instructions set (SSE, AVX and so). For GPU CUDA it reports most of the attribute values returned by cuDeviceGetAttribute(). Ideally we need to only use set of those which are driver-specific (so we don't clutter system info with values which we can get from GPU specifications and be sure they stay the same because driver can't affect on them).
Diffstat (limited to 'intern/cycles/blender/addon/engine.py')
-rw-r--r--intern/cycles/blender/addon/engine.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/engine.py b/intern/cycles/blender/addon/engine.py
index 356382048a0..a0ad044f24c 100644
--- a/intern/cycles/blender/addon/engine.py
+++ b/intern/cycles/blender/addon/engine.py
@@ -100,3 +100,7 @@ def with_osl():
def with_network():
import _cycles
return _cycles.with_network
+
+def system_info():
+ import _cycles
+ return _cycles.system_info()