From a922be9270496de95b8c8a4ec7923dd0cb50f184 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 6 Jan 2015 14:13:21 +0500 Subject: 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). --- release/scripts/modules/sys_info.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'release') diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index 7fd97c4d347..cecb2a767ef 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -187,6 +187,12 @@ def write_sysinfo(op): bgl.glGetIntegerv(bgl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, limit) output.write("Maximum Pipeline Image Units:\t%d\n" % limit[0]) + if bpy.app.build_options.cycles: + import cycles + output.write("\nCycles\n") + output.write(lilies) + output.write(cycles.engine.system_info()) + output.current_line_index = 0 op.report({'INFO'}, "System information generated in 'system-info.txt'") -- cgit v1.2.3