diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-06 12:13:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-06 12:13:21 +0300 |
commit | a922be9270496de95b8c8a4ec7923dd0cb50f184 (patch) | |
tree | fe416d0abfe21f88b1f7de94de763e0e0742e4f8 /intern/cycles/device/device_intern.h | |
parent | e961c06a6ea9fbe48a375eaf78fd2ca536bd430e (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/device/device_intern.h')
-rw-r--r-- | intern/cycles/device/device_intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device_intern.h b/intern/cycles/device/device_intern.h index ae193557daf..47584ae6d22 100644 --- a/intern/cycles/device/device_intern.h +++ b/intern/cycles/device/device_intern.h @@ -35,6 +35,10 @@ void device_cuda_info(vector<DeviceInfo>& devices); void device_network_info(vector<DeviceInfo>& devices); void device_multi_info(vector<DeviceInfo>& devices); +string device_cpu_capabilities(void); +string device_opencl_capabilities(void); +string device_cuda_capabilities(void); + CCL_NAMESPACE_END #endif /* __DEVICE_INTERN_H__ */ |