__local ulong clientPixelData[2048];
__global ulong *sourcepos = (__global ulong *)(source + (sourceWidth * hexTop)+(hexLeft * 4));
event_t events = async_work_group_copy(&clientPixelData, sourcepos, cWidth,0);
wait_group_events(1, &events);
I have tree error
:178: error: no matching overload found for arguments of type ‘long _attribute
_((address_space(3))), long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~
:238: error: no matching overload found for arguments of type ‘ulong __attribute
__((address_space(3)))()[2048], long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(&clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~
:353: error: no matching overload found for arguments of type ‘ulong __attribute
__((address_space(3)))()[2048], long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(&clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~
I have tree error
:178: error: no matching overload found for arguments of type ‘long _attribute
_((address_space(3))), long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~
:238: error: no matching overload found for arguments of type ‘ulong __attribute
__((address_space(3)))()[2048], long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(&clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~
:353: error: no matching overload found for arguments of type ‘ulong __attribute
__((address_space(3)))()[2048], long attribute((address_space(1))), int, int’
event_t events = async_work_group_copy(&clientPixelData, sourcepos, cWidth,0);
^~~~~~~~~~~~~~~~~~~~~