diff options
Diffstat (limited to 'intern/cycles/util/util_system.cpp')
-rw-r--r-- | intern/cycles/util/util_system.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp index 77a1b1ffb75..8b09f227a74 100644 --- a/intern/cycles/util/util_system.cpp +++ b/intern/cycles/util/util_system.cpp @@ -113,5 +113,10 @@ string system_cpu_brand_string() return "Unknown CPU"; } +int system_cpu_bits() +{ + return (sizeof(void*)*8); +} + CCL_NAMESPACE_END |