Files
rocm-systems/projects/hip/samples/1_Utils/hipInfo
Evgeny Mankov 82900a1888 Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).


[ROCm/hip commit: 57e212606d]
2016-02-25 23:44:39 +03:00
..
2016-01-26 20:14:33 -06:00
2016-01-26 20:14:33 -06:00

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__)