In Opencl for vector up to length 16 . we can access its (scalar) components by specifying them:
float16 x;
x.sA // refers to the 11th element of the float16 variable x
x.sF // refers to the 16th element of the float16 variable x
How can we access components of float32 y
or float128 w
.Is there an extension for that ?(I didn`t find that it is built-in)
as well I can combine indices:
float16 x;
float4 y = x.sB1AE
Is there something similar for vectors having length
16
(or workaround)