|
HIP: Heterogenous-computing Interface for Portability
|
Functions | |
| hipError_t | hipDeviceCanAccessPeer (int *canAccessPeer, int device, int peerDevice) |
| Determine if a device can access a peer's memory. More... | |
| hipError_t | hipDeviceDisablePeerAccess (int peerDevice) |
| hipError_t | hipDeviceEnablePeerAccess (int peerDevice, unsigned int flags) |
| hipError_t | hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes) |
| hipError_t | hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0) |
| hipError_t hipDeviceCanAccessPeer | ( | int * | canAccessPeer, |
| int | device, | ||
| int | peerDevice | ||
| ) |
Determine if a device can access a peer's memory.
| [out] | canAccessPeer | returns true if specified devices are peers. |
| [in] | device | |
| [in] | peerDevice | Returns "1" in canAccessPeer if the specified device is capable of directly accessing memory phyically located on peerDevice , or "0" if not. |
| hipError_t hipDeviceDisablePeerAccess | ( | int | peerDevice | ) |
| hipError_t hipDeviceEnablePeerAccess | ( | int | peerDevice, |
| unsigned int | flags | ||
| ) |
| hipError_t hipMemcpyPeerAsync | ( | void * | dst, |
| int | dstDevice, | ||
| const void * | src, | ||
| int | srcDevice, | ||
| size_t | sizeBytes, | ||
| hipStream_t | stream | ||
| ) |
1.8.6