cudaDeviceCanAccessPeer returns false

Hallo!

I’ve got a system with two Nvidia Tesla M2070Q carts and want to test peer-to-peer copy between this devices.

Now I tried cudaDeviceCanAccessPeer - but the return value of canAccessPeer was 0.

My driver-version is 270.40.

Ich use Linux version 2.6.32.29-0.3 on a 64-bit System.

I’ve no Idea why it doesn’t work.

Thanks for help.

You need to use cudaDeviceEnablePeerAccess()
Please refer to the cuda toolkit reference pdf 4.0 section 4.10