Blender
V3.3
intern
cycles
kernel
device
cpu
kernel_sse2.cpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0
2
* Copyright 2011-2022 Blender Foundation */
3
4
/* Optimized CPU kernel entry points. This file is compiled with SSE2
5
* optimization flags and nearly all functions inlined, while kernel.cpp
6
* is compiled without for other CPU's. */
7
8
#include "
util/optimization.h
"
9
10
#ifndef WITH_CYCLES_OPTIMIZED_KERNEL_SSE2
11
# define KERNEL_STUB
12
#else
13
/* SSE optimization disabled for now on 32 bit, see bug T36316. */
14
# if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86)))
15
# define __KERNEL_SSE2__
16
# endif
17
#endif
/* WITH_CYCLES_OPTIMIZED_KERNEL_SSE2 */
18
19
#include "
kernel/device/cpu/kernel.h
"
20
#define KERNEL_ARCH cpu_sse2
21
#include "
kernel/device/cpu/kernel_arch_impl.h
"
kernel.h
kernel_arch_impl.h
optimization.h
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1