10#ifndef __UTIL_TYPES_H__
11# error "Do not include this file directly, include util/types.h instead."
19__forceinline vfloat8::vfloat8(
const vfloat8 &f) : m256(f.m256) {}
59 vfloat8 r(_mm256_set1_ps(f));
61 vfloat8 r = {f, f, f, f, f, f, f, f};
67make_vfloat8(
float a,
float b,
float c,
float d,
float e,
float f,
float g,
float h)
70 vfloat8 r(_mm256_setr_ps(a,
b, c, d,
e, f, g, h));
72 vfloat8 r = {a,
b, c, d,
e, f, g, h};
80 return vfloat8(_mm256_insertf128_ps(_mm256_castps128_ps256(a),
b, 1));
88#ifdef __KERNEL_PRINTF__
89 printf(
"%s: %.8f %.8f %.8f %.8f %.8f %.8f %.8f %.8f\n",
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e
local_group_size(16, 16) .push_constant(Type b
#define util_assert(statement)
#define ccl_device_inline
#define CCL_NAMESPACE_END
VecBase< float, 4 > float4
ccl_device_inline vfloat8 make_vfloat8(float f)
ccl_device_inline void print_vfloat8(ccl_private const char *label, const vfloat8 a)