7#ifndef __UTIL_TYPES_H__
8# error "Do not include this file directly, include util/types.h instead."
13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
38# ifndef __KERNEL_GPU__
56# if defined(__KERNEL_GPU__)
58# elif defined(__KERNEL_SSE__)
59 return float3(_mm_set_ps(0.0f,
z, y, x));
61 return {
x,
y,
z, 0.0f};
69#if defined(__KERNEL_GPU__)
71#elif defined(__KERNEL_SSE__)
72 return float3(_mm_set1_ps(f));
80#ifdef __KERNEL_PRINTF__
81 printf(
"%s: %.8f %.8f %.8f\n",
label, (
double)a.x, (
double)a.y, (
double)a.z);
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
#define util_assert(statement)
#define ccl_device_inline
#define CCL_NAMESPACE_END
ccl_device_inline void print_float3(ccl_private const char *label, const float3 a)
ccl_device_inline float3 make_float3(float x, float y, float z)