Typecast between  __global float* and float*

Discussion created by Raistmer on Mar 14, 2010
Latest reply on Mar 14, 2010 by Illusio

In kernel declaration I have ...(__global float* A, ....)
inside kernel I need pinters on different areas of A buffer.
I try:
float* A_ptr=(float*)A+offset;

it works for NV compiler but fails for ATI one.
How can I do such conversion in "ATI" OpenCL ?