7#ifndef __UTIL_TYPES_H__
8# error "Do not include this file directly, include util/types.h instead."
13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
36# ifndef __KERNEL_GPU__
55 return float4(_mm_set_ps(
w,
z, y, x));
66 return float4(_mm_set1_ps(f));
75 return float4(_mm_cvtepi32_ps(i.m128));
83#ifdef __KERNEL_PRINTF__
84 printf(
"%s: %.8f %.8f %.8f %.8f\n",
label, (
double)a.x, (
double)a.y, (
double)a.z, (
double)a.w);
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
#define util_assert(statement)
#define ccl_device_inline
#define CCL_NAMESPACE_END
VecBase< float, 4 > float4
ccl_device_inline void print_float4(ccl_private const char *label, const float4 a)
ccl_device_inline float4 make_float4(float x, float y, float z, float w)