Hi friends,
Could any one tell me how to read in only a single float from array/pointer of const float4 located in device memory. I mean direct reading a float from the device memory, not reading a float4 and then do extraction. I am looking for a way to read in a pointer/array of float4 as it is a pointer/array of float.
Problem solved: float *p_f1 = (float *) p_f4;
Thanks for reading,
Nices