# Peer Device

**URL:** <https://forums.developer.nvidia.com/t/peer-device/30383>\
**Category:** GPU-Accelerated Libraries\
**Created:** [August 7, 2013, 4:40pm UTC](https://forums.developer.nvidia.com/t/peer-device/30383 "2013-08-07T16:40:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aflavia](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Aflavia](https://forums.developer.nvidia.com/u/Aflavia)\
**Post date:** [August 7, 2013, 4:40pm UTC](https://forums.developer.nvidia.com/t/peer-device/30383/1 "2013-08-07T16:40:44Z")

</div>

I have a GTX 690 (2 device) and Im trying to access the peer:

```
int p1fromp0, p0fromp1;
HANDLE_ERROR(cudaDeviceCanAccessPeer(&p1fromp0, 0, 1));
HANDLE_ERROR(cudaDeviceCanAccessPeer(&p0fromp1, 1, 0));

```

However, the variable p1fromp0 and p0fromp1 has response equal 0. I dont understanding.

The GTX 690 dont has direct access of peerDevice from device?

Thanks,

---

<div class="post-metadata">

**Author:** ![JFSebastian](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jfsebastian/32/75602_2.png) [@JFSebastian](https://forums.developer.nvidia.com/u/JFSebastian)\
**Post date:** [August 12, 2013, 1:10pm UTC](https://forums.developer.nvidia.com/t/peer-device/30383/2 "2013-08-12T13:10:04Z")

</div>

Have you tried the simpleP2P CUDA SDK sample?

Have you checked that the GPUs are on the same I/O hub? This is a necessary condition to achieve peer-to-peer access?
