Code Monkey home page Code Monkey logo

hc-info's Introduction

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

hc-info's People

Contributors

aunzat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.