Skip to content

aunzat/hc-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hc-info

Get info about the available HSA devices using HC C++ API.
see: https://github.com/RadeonOpenCompute/hcc


Building

The hcc compiler is needed. Install the ROCm Platform from
https://github.com/RadeonOpenCompute/ROCm to get it.
CMake is also needed.

Build it with:
mkdir build
cd build
cmake ..
make

Optionally cl-info can be installed with:
make install


Sample Output:

$ ./hc-info
2 available accelerators:

device path:             cpu
description:             CPU Device
version:                 0.0
dedicated memory:        0 KB
CPU shared memory:       true
max static tile size:    0
default CPU mem access:  read write
compute unit count:      0
double precision:        yes
debug:                   false
has display:             false
emulated:                true
HSA Profile:             none
peers:                   -

device path:             gfx7000
description:             AMD HSA Agent gfx7000
version:                 1.1
dedicated memory:        1073741824 KB
CPU shared memory:       false
max static tile size:    65536
default CPU mem access:  read write
compute unit count:      8
double precision:        yes
debug:                   false
has display:             false
emulated:                false
HSA Profile:             full
peers:                   gfx7000 

default accelerator:	gfx7000

About

Heterogeneous Compute Device Infomation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published