Skip to content

sree314/pycupti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pycupti

Provides a Python3 interface to the CUDA CUPTI library. It is incomplete.

Installation

Clone this repository. Then run:

python3 setup.py develop --user

I recommend develop instead of install since pycupti is unstable software.

pycupti requires pycuda and will install it automatically when you run the above command.

pycupti can be used "offline" when there is no CUPTI library installed, in that case, the API calls will not work (and pycupti.api will be missing, but pycupti.constants will still be available).

Usage

pycupti is a very thin wrapper around the CUPTI API. If you know how to use CUPTI, you know how to use pycupti.

For full-fledged examples of how to use this API, see the gen_all_metrics.py and gen_all_events.py scripts in the npreader2 repository

About

A thin Python wrapper around libcupti

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages