cudaMemcpyPeer and cudaMemcpyPeerAsync with no offset?

Hi,

I have tested in fedora 16 and with cuda 4.1 and 5.0 and and cannot use offsets in the pointer devices…
Is this a limitation?
If no offset is set then there is no problems.

cudaError_t cudaMemcpyPeer ( void * dst,
int dstDevice,
const void * src,
int srcDevice,
size_t count
)

Anyone have this problem?

Thanks

I have to use…
type *ptr = reinterpret_cast( device_ptr + offset );

had to put in code block…

type *ptr = reinterpret_cast( device_ptr + offset );

it deleted the template part…