AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Macros
Reduction.hcl.in File Reference

Header to be inserted into CalcServer/Reduction.cl.in file. More...

Macros

#define vec2   float2
 
#define vec3   float3
 
#define vec4   float4
 
#define ivec2   int2
 
#define ivec3   int3
 
#define ivec4   int4
 
#define uivec2   uint2
 
#define uivec3   uint3
 
#define uivec4   uint4
 
#define INFINITY   FLT_MAX
 
#define vec   float4
 
#define ivec   int4
 
#define uivec   uint4
 
#define VEC_ZERO   ((float4)(0.f, 0.f, 0.f, 0.f))
 
#define VEC_ONE   ((float4)(1.f, 1.f, 1.f, 0.f))
 
#define VEC_ALL_ONE   ((float4)(1.f, 1.f, 1.f, 1.f))
 
#define VEC_INFINITY   ((float4)(INFINITY, INFINITY, INFINITY, 0.f))
 
#define VEC_ALL_INFINITY   ((float4)(INFINITY, INFINITY, INFINITY, INFINITY))
 
#define matrix   float16
 
#define MAT_ZERO
 
#define MAT_EYE
 
#define VEC_NEG_INFINITY   (-VEC_INFINITY)
 
#define VEC_ALL_NEG_INFINITY   (-VEC_ALL_INFINITY)
 

Detailed Description

Header to be inserted into CalcServer/Reduction.cl.in file.

Macro Definition Documentation

◆ INFINITY

#define INFINITY   FLT_MAX

◆ ivec

#define ivec   int4

◆ ivec2

#define ivec2   int2

◆ ivec3

#define ivec3   int3

◆ ivec4

#define ivec4   int4

◆ MAT_EYE

#define MAT_EYE
Value:
((float16)(1.f, \
0.f, \
0.f, \
0.f, \
0.f, \
1.f, \
0.f, \
0.f, \
0.f, \
0.f, \
1.f, \
0.f, \
0.f, \
0.f, \
0.f, \
1.f))

◆ MAT_ZERO

#define MAT_ZERO
Value:
((float16)(0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f, \
0.f))

◆ matrix

#define matrix   float16

◆ uivec

#define uivec   uint4

◆ uivec2

#define uivec2   uint2

◆ uivec3

#define uivec3   uint3

◆ uivec4

#define uivec4   uint4

◆ vec

#define vec   float4

◆ vec2

#define vec2   float2

◆ vec3

#define vec3   float3

◆ vec4

#define vec4   float4

◆ VEC_ALL_INFINITY

#define VEC_ALL_INFINITY   ((float4)(INFINITY, INFINITY, INFINITY, INFINITY))

◆ VEC_ALL_NEG_INFINITY

#define VEC_ALL_NEG_INFINITY   (-VEC_ALL_INFINITY)

◆ VEC_ALL_ONE

#define VEC_ALL_ONE   ((float4)(1.f, 1.f, 1.f, 1.f))

◆ VEC_INFINITY

#define VEC_INFINITY   ((float4)(INFINITY, INFINITY, INFINITY, 0.f))

◆ VEC_NEG_INFINITY

#define VEC_NEG_INFINITY   (-VEC_INFINITY)

◆ VEC_ONE

#define VEC_ONE   ((float4)(1.f, 1.f, 1.f, 0.f))

◆ VEC_ZERO

#define VEC_ZERO   ((float4)(0.f, 0.f, 0.f, 0.f))