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:
authorThomas Dinges <blender@dingto.org>2014-01-16 20:04:11 +0400
committerThomas Dinges <blender@dingto.org>2014-01-16 20:04:11 +0400
commitde28a4d4b2c9397c5233a5ee1dbf1400f450a15c (patch)
tree1fe23de963e206af3fb2ff2d9e2e3393cd89149c /intern/cycles/util/util_system.h
parent7c6d52eb07c4bd8142a95eca1dbdc794063859b8 (diff)
Cycles: Add an AVX kernel for CPU rendering.
* AVX is available on Intel Sandy Bridge and newer and AMD Bulldozer and newer. * We don't use dedicated AVX intrinsics yet, but gcc auto vectorization gives a 3% performance improvement for Caminandes. Tested on an i5-3570, Linux x64. * No change for Windows yet, MSVC 2008 does not support AVX. Reviewed by: brecht Differential Revision: https://developer.blender.org/D216
Diffstat (limited to 'intern/cycles/util/util_system.h')
-rw-r--r--intern/cycles/util/util_system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/util/util_system.h b/intern/cycles/util/util_system.h
index 64cfa4906b3..4409ea752cd 100644
--- a/intern/cycles/util/util_system.h
+++ b/intern/cycles/util/util_system.h
@@ -27,6 +27,7 @@ int system_cpu_bits();
bool system_cpu_support_sse2();
bool system_cpu_support_sse3();
bool system_cpu_support_sse41();
+bool system_cpu_support_avx();
CCL_NAMESPACE_END