Git Product home page Git Product logo

amd-perf-lib's Introduction

AMD-Perf-Lib

Author: Matthäus G. Chajdas

Overview

AMD provides a C library to query the hardware performance counters of their GPUs, called GPUPerfAPI. This project provides an easy-to-use, C++ based wrapper on top of the C API.

GPUPerfAPI

You need a copy of the GPUPerfAPI (from http://developer.amd.com/tools-and-sdks/graphics-development/gpuperfapi/). This version is built against GPUPerfAPI version 2.17.

Getting started

The project requires Visual Studio 2015 or later, or GCC 4.8/Clang 3.4. Most likely, older GCC/Clang versions will work as well, but haven't been tested. When using GCC/Clang, please enable -std=c++11.

There is a basic CMakeLists.txt file to help you get started. If you choose to compile yourself, you need to:

  • Create a project which contains PerfLib.cpp
  • #define AMD_PERF_API_WINDOWS=1 or AMD_PERF_API_LINUX=1 using the C++ preprocessor.
  • #define AMD_PERF_LIB_X64=1 or AMD_PERF_LIB_X86=1 using the C++ preprocessor.

It has been tested on Windows 7, with a HD 7970; on Windows 8.1 with a R9 290X and should also work on Linux.

Notes

This project is developed as part of a bigger project; this repository contains only code drops from the main development repository. Don't be surprised if sometimes multiple changes are committed together!

License

This project is licensed under the 2-clause BSD. See LICENSE.txt for details.

amd-perf-lib's People

Contributors

anteru avatar

Watchers

 avatar  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.