c964e3c75a
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
as a peer)
- device peerlist always includes self, so when we call allow_access
we never remove self access.
- hipDeviceReset() removes old peer mappings.
[ROCm/hip commit: 83f0de7806]
hipInfo
Simple tool that prints properties for each device (from hipGetDeviceProperties), and compiler info. Properties includes all of the architectural feature flags for each device.
Also demonstrates how to use platform-specific compilation path (testing __HIP_PLATFORM_NVCC__ or __HIP_PLATFORM_HCC__)