Changeset View
Changeset View
Standalone View
Standalone View
src/device/device_debug.cpp
| Context not available. | |||||
| #include "device/device_debug.h" | #include "device/device_debug.h" | ||||
| #include <stdlib.h> | |||||
| #include "bvh/bvh_params.h" | |||||
| #include "util/util_logging.h" | #include "util/util_logging.h" | ||||
| #include "util/util_string.h" | #include "util/util_string.h" | ||||
| #include <cstdlib> | |||||
| #include <ostream> | |||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| DeviceDebugFlags::CPU::CPU() | DeviceDebugFlags::CPU::CPU() | ||||
| Context not available. | |||||
| opencl.reset(); | opencl.reset(); | ||||
| } | } | ||||
| std::ostream &operator<<(std::ostream &os, DebugFlagsConstRef debug_flags) | std::ostream &operator<<(std::ostream &os, DeviceDebugFlagsConstRef debug_flags) | ||||
| { | { | ||||
| os << "CPU flags:\n" | os << "CPU flags:\n" | ||||
| << " AVX2 : " << string_from_bool(debug_flags.cpu.avx2) << "\n" | << " AVX2 : " << string_from_bool(debug_flags.cpu.avx2) << "\n" | ||||
| Context not available. | |||||