20 return (
float)n * (1.0f / 4294967808.0f);
26 return (
float)n * (1.0f / (float)0xFFFFFFFFu);
33#define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k))))
58#define final(a, b, c) \
82 a =
b = c = 0xdeadbeef + (1 << 2) + 13;
95 a =
b = c = 0xdeadbeef + (2 << 2) + 13;
109 a =
b = c = 0xdeadbeef + (3 << 2) + 13;
124 a =
b = c = 0xdeadbeef + (4 << 2) + 13;
256# define rot(x, k) (((x) << (k)) | (srl(x, 32 - (k))))
258# define mix(a, b, c) \
280# define final(a, b, c) \
303 a =
b = c =
make_int4(0xdeadbeef + (1 << 2) + 13);
316 a =
b = c =
make_int4(0xdeadbeef + (2 << 2) + 13);
330 a =
b = c =
make_int4(0xdeadbeef + (3 << 2) + 13);
345 a =
b = c =
make_int4(0xdeadbeef + (4 << 2) + 13);
358# if defined(__KERNEL_AVX2__)
362 a =
b = c =
make_vint8(0xdeadbeef + (1 << 2) + 13);
373 a =
b = c =
make_vint8(0xdeadbeef + (2 << 2) + 13);
385 a =
b = c =
make_vint8(0xdeadbeef + (3 << 2) + 13);
398 a =
b = c =
make_vint8(0xdeadbeef + (4 << 2) + 13);
435 return i ^ 0xe6fe3beb;
540 const uint qx = 1103515245U * ((
x >> 1U) ^ (
y));
541 const uint qy = 1103515245U * ((
y >> 1U) ^ (
x));
542 const uint n = 1103515245U * ((qx) ^ (qy >> 3U));
549#ifndef __KERNEL_GPU__
555 while ((c = *
str++)) {
static unsigned long seed
#define ccl_device_forceinline
#define ccl_device_inline
#define CCL_NAMESPACE_END
VecBase< float, 4 > float4
float length(VecOp< float, D >) RET
ccl_device_inline uint hash_wang_seeded_uint(uint i, const uint seed)
static uint hash_string(const char *str)
ccl_device_inline float2 hash_float3_to_float2(const float3 k)
ccl_device_inline float3 hash_float_to_float3(const float k)
ccl_device_inline uint hash_uint4(const uint kx, const uint ky, const uint kz, const uint kw)
ccl_device_inline float hash_float_to_float(const float k)
ccl_device_inline float hash_float3_to_float(const float3 k)
ccl_device_inline float hash_uint_to_float(const uint kx)
ccl_device_inline float2 hash_float_to_float2(const float k)
ccl_device_inline float2 hash_float2_to_float2(const float2 k)
ccl_device_inline float hash_hp_seeded_float(const uint i, const uint seed)
ccl_device_inline uint hash_shuffle_uint(uint i, const uint length, const uint seed)
ccl_device_inline float3 hash_float2_to_float3(const float2 k)
ccl_device_inline float hash_wang_seeded_float(const uint i, const uint seed)
ccl_device_inline float hash_float2_to_float(const float2 k)
ccl_device_inline uint hash_uint2(const uint kx, const uint ky)
ccl_device_inline uint hash_uint(const uint kx)
ccl_device_inline float4 hash_float4_to_float4(const float4 k)
ccl_device_inline uint hash_iqnt2d(const uint x, const uint y)
ccl_device_forceinline float uint_to_float_incl(const uint n)
ccl_device_inline float hash_float4_to_float(const float4 k)
ccl_device_inline float hash_hp_float(const uint i)
ccl_device_inline float2 hash_float4_to_float2(const float4 k)
ccl_device_inline float3 hash_float4_to_float3(const float4 k)
ccl_device_inline uint hash_hp_uint(uint i)
ccl_device_inline uint hash_uint3(const uint kx, const uint ky, const uint kz)
ccl_device_inline float hash_uint4_to_float(const uint kx, const uint ky, const uint kz, const uint kw)
ccl_device_inline float hash_uint2_to_float(const uint kx, const uint ky)
ccl_device_inline uint hash_hp_seeded_uint(const uint i, uint seed)
ccl_device_inline float3 hash_float3_to_float3(const float3 k)
ccl_device_inline float hash_uint3_to_float(const uint kx, const uint ky, const uint kz)
CCL_NAMESPACE_BEGIN ccl_device_forceinline float uint_to_float_excl(const uint n)
ccl_device_inline uint count_leading_zeros(const uint x)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
ccl_device_inline vint8 make_vint8(const vfloat8 f)