|
Blender V5.0
|
#include <cstdlib>#include <cstdint>#include <cstdio>#include "util/defines.h"#include "util/optimization.h"#include "util/simd.h"Go to the source code of this file.
Macros | |
| #define | __KERNEL_PRINTF__ |
Typedefs | |
| using | device_ptr = uint64_t |
Functions | |
| ccl_device_inline size_t | align_up (const size_t offset, const size_t alignment) |
| ccl_device_inline size_t | divide_up (const size_t x, const size_t y) |
| ccl_device_inline size_t | round_up (const size_t x, const size_t multiple) |
| ccl_device_inline size_t | round_down (const size_t x, const size_t multiple) |
| ccl_device_inline bool | is_power_of_two (const size_t x) |
| ccl_device_inline void | print_float (const ccl_private char *label, const float a) |
| #define __KERNEL_PRINTF__ |
Definition at line 76 of file device/cpu/globals.h.
| using device_ptr = uint64_t |
Definition at line 44 of file types_base.h.
| ccl_device_inline size_t align_up | ( | const size_t | offset, |
| const size_t | alignment ) |
Definition at line 47 of file types_base.h.
References ccl_device_inline.
Referenced by TileManager::compute_render_tile_size(), OSLNode::create(), and OSLNode::input_default_value().
| ccl_device_inline size_t divide_up | ( | const size_t | x, |
| const size_t | y ) |
Definition at line 52 of file types_base.h.
References ccl_device_inline, x, and y.
Referenced by PathTraceWorkGPU::alloc_integrator_sorting(), LightManager::device_update_background(), ImageHandle::get_svm_slots(), WorkTileScheduler::reset_scheduler_state(), TileManager::reset_scheduling(), and BlenderSync::sync_render_passes().
| ccl_device_inline bool is_power_of_two | ( | const size_t | x | ) |
Definition at line 67 of file types_base.h.
References ccl_device_inline, and x.
Referenced by Integrator::device_update(), Integrator::get_adaptive_sampling(), round_down_to_power_of_two(), round_num_samples_to_power_of_2(), round_up_to_power_of_two(), and RenderScheduler::volume_guiding_need_denoise().
| ccl_device_inline void print_float | ( | const ccl_private char * | label, |
| const float | a ) |
Definition at line 82 of file types_base.h.
References ccl_device_inline, ccl_private, and printf.
| ccl_device_inline size_t round_down | ( | const size_t | x, |
| const size_t | multiple ) |
Definition at line 62 of file types_base.h.
References ccl_device_inline, and x.
| ccl_device_inline size_t round_up | ( | const size_t | x, |
| const size_t | multiple ) |
Definition at line 57 of file types_base.h.
References ccl_device_inline, and x.
Referenced by blender::RandomNumberGenerator::round_probabilistic().