Files
rocm-systems/projects/hip/samples/1_Utils/hipInfo
Evgeny Mankov c3a600c63b Guard #ifdef USE_ROCR_20 is added for ROCR_20 device properties (memoryClockRate, memoryBusWidth)
By default isn't defined.
To add ROCR_20 support HIP have to be compiled as follows: make CXX_DEFINES+=-DUSE_ROCR_20


[ROCm/hip commit: 833c9e52ad]
2016-02-19 13:27:03 +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__)