Comhaid
rocm-systems/projects/clr/hipamd/samples/1_Utils/hipInfo
Tao Sang 92e898abff Make samples support cmake
Only cmake can support static lib of hip rt.
Thus samples will support static lib of hip
rt when this is done.

Change-Id: I70e8d06e85084369a035b42c5d1d56287c874ac9


[ROCm/clr commit: 449848cb5a]
2020-09-18 07:37:02 -04:00
..
2020-09-18 07:37:02 -04:00
2020-06-16 17:54:20 -04:00
2016-04-18 10:15:35 +05:30
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__)