|
Blender V4.3
|
#include <stdlib.h>#include <stdint.h>#include <stdio.h>#include "util/defines.h"#include "util/optimization.h"#include "util/simd.h"#include "util/types_uchar2.h"#include "util/types_uchar3.h"#include "util/types_uchar4.h"#include "util/types_int2.h"#include "util/types_int3.h"#include "util/types_int4.h"#include "util/types_int8.h"#include "util/types_uint2.h"#include "util/types_uint3.h"#include "util/types_uint4.h"#include "util/types_ushort4.h"#include "util/types_float2.h"#include "util/types_float3.h"#include "util/types_float4.h"#include "util/types_float8.h"#include "util/types_spectrum.h"#include "util/types_uchar2_impl.h"#include "util/types_uchar3_impl.h"#include "util/types_uchar4_impl.h"#include "util/types_int2_impl.h"#include "util/types_int3_impl.h"#include "util/types_int4_impl.h"#include "util/types_int8_impl.h"#include "util/types_uint2_impl.h"#include "util/types_uint3_impl.h"#include "util/types_uint4_impl.h"#include "util/types_float2_impl.h"#include "util/types_float3_impl.h"#include "util/types_float4_impl.h"#include "util/types_float8_impl.h"Go to the source code of this file.
Macros | |
| #define | __KERNEL_PRINTF__ |
Typedefs | |
| typedef unsigned int | uint |
| typedef unsigned short | ushort |
| typedef uint64_t | device_ptr |
Functions | |
| ccl_device_inline size_t | align_up (size_t offset, size_t alignment) |
| ccl_device_inline size_t | divide_up (size_t x, size_t y) |
| ccl_device_inline size_t | round_up (size_t x, size_t multiple) |
| ccl_device_inline size_t | round_down (size_t x, size_t multiple) |
| ccl_device_inline bool | is_power_of_two (size_t x) |
| ccl_device_inline void | print_float (ccl_private const char *label, const float a) |
Variables | |
| CCL_NAMESPACE_BEGIN typedef unsigned char | uchar |
| #define __KERNEL_PRINTF__ |
Definition at line 77 of file util/types.h.
| typedef uint64_t device_ptr |
Definition at line 45 of file util/types.h.
Definition at line 37 of file util/types.h.
| typedef unsigned short ushort |
Definition at line 38 of file util/types.h.
| ccl_device_inline size_t align_up | ( | size_t | offset, |
| size_t | alignment ) |
Definition at line 48 of file util/types.h.
Referenced by TileManager::compute_render_tile_size(), OSLNode::create(), and OSLNode::input_default_value().
| ccl_device_inline size_t divide_up | ( | size_t | x, |
| size_t | y ) |
Definition at line 53 of file util/types.h.
References y.
Referenced by PathTraceWorkGPU::alloc_integrator_sorting(), LightManager::device_update_background(), ImageHandle::get_svm_slots(), SkyLoader::load_pixels(), WorkTileScheduler::reset_scheduler_state(), TileManager::reset_scheduling(), and BlenderSync::sync_render_passes().
| ccl_device_inline bool is_power_of_two | ( | size_t | x | ) |
Definition at line 68 of file util/types.h.
Referenced by Integrator::get_adaptive_sampling(), round_down_to_power_of_two(), round_num_samples_to_power_of_2(), and round_up_to_power_of_two().
| ccl_device_inline void print_float | ( | ccl_private const char * | label, |
| const float | a ) |
Definition at line 80 of file util/types.h.
| ccl_device_inline size_t round_down | ( | size_t | x, |
| size_t | multiple ) |
Definition at line 63 of file util/types.h.
| ccl_device_inline size_t round_up | ( | size_t | x, |
| size_t | multiple ) |
Definition at line 58 of file util/types.h.
Referenced by blender::RandomNumberGenerator::round_probabilistic().
| CCL_NAMESPACE_BEGIN typedef unsigned char uchar |
Definition at line 36 of file util/types.h.