Peer-to-Peer improvements.

- Bug fix for peer visibility.  Now contexts correctly detect when they can use SDMA for P2P vs staging buffers.
- Interface to new HCC copy_ext function.
- Improve context and peer print /debug options.
- Add comments and usage to hipPeerToPeer_simple test.
This commit is contained in:
Ben Sander
2016-09-22 10:39:17 -05:00
bovenliggende 0d47e62cb0
commit c769abcbeb
4 gewijzigde bestanden met toevoegingen van 126 en 12 verwijderingen
+1 -1
Bestand weergeven
@@ -104,7 +104,7 @@ hipError_t hipMalloc(void** ptr, size_t sizeBytes)
if (sizeBytes == 0)
{
*ptr = NULL;
return ihipLogStatus(hip_status);
return ihipLogStatus(hipSuccess);
}
auto ctx = ihipGetTlsDefaultCtx();