The OpenCL 1.0 and 1.1 specifications define min for the following function signatures:
gentype min (gentype x, gentype y)
gentype min (gentype x, sgentype y)
, 1 , , .
int4 a,b;
int c;
min(a,b);
min(a,c);
, get_global_id size_t, 32 64 .
, .
min ( ), .
min(float a, float b);
min(float2 a, float2 b);
min(float2 a, float b);
min(float3 a, float3 b);
min(float3 a, float b);
min(float4 a, float4 b);
...
min(double a, double b);
min(double2 a, double b);
...
...