Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/cpu/device_impl.h
| Show All 13 Lines | |||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| /* So ImathMath is included before our kernel_cpu_compat. */ | /* So ImathMath is included before our kernel_cpu_compat. */ | ||||
| #ifdef WITH_OSL | #ifdef WITH_OSL | ||||
| /* So no context pollution happens from indirectly included windows.h */ | /* So no context pollution happens from indirectly included windows.h */ | ||||
| # include "util/util_windows.h" | # include "util/windows.h" | ||||
| # include <OSL/oslexec.h> | # include <OSL/oslexec.h> | ||||
| #endif | #endif | ||||
| #ifdef WITH_EMBREE | #ifdef WITH_EMBREE | ||||
| # include <embree3/rtcore.h> | # include <embree3/rtcore.h> | ||||
| #endif | #endif | ||||
| #include "device/cpu/kernel.h" | #include "device/cpu/kernel.h" | ||||
| #include "device/device.h" | #include "device/device.h" | ||||
| #include "device/device_memory.h" | #include "device/memory.h" | ||||
| // clang-format off | // clang-format off | ||||
| #include "kernel/device/cpu/compat.h" | #include "kernel/device/cpu/compat.h" | ||||
| #include "kernel/device/cpu/kernel.h" | #include "kernel/device/cpu/kernel.h" | ||||
| #include "kernel/device/cpu/globals.h" | #include "kernel/device/cpu/globals.h" | ||||
| #include "kernel/osl/osl_shader.h" | #include "kernel/osl/shader.h" | ||||
| #include "kernel/osl/osl_globals.h" | #include "kernel/osl/globals.h" | ||||
| // clang-format on | // clang-format on | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| class CPUDevice : public Device { | class CPUDevice : public Device { | ||||
| public: | public: | ||||
| KernelGlobalsCPU kernel_globals; | KernelGlobalsCPU kernel_globals; | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||