Skip to content
/ DrGPUM Public

A memory profiler for NVIDIA GPUs to explore memory inefficiencies in GPU-accelerated applications.

License

Notifications You must be signed in to change notification settings

Lin-Mao/DrGPUM

Repository files navigation

DrGPUM

DOI CodeFactor Documentation Status

DrGPUM is a memory profiler for NVIDIA GPUs to explore memory inefficiencies in GPU-accelerated applications.

Quick Start

git clone --recursive https://github.com/Lin-Mao/DrGPUM.git && cd DrGPUM

git submodule update --init --recursive

# Specify PyTorch dir
export PYTORCH_DIR=path_to_pytorch/torch

# Install DrGPUM
./bin/install

# Setup environment variables
export DrGPUM_PATH=$(pwd)/gvprof
export PATH=${DrGPUM_PATH}/bin:$PATH
export PATH=${DrGPUM_PATH}/hpctoolkit/bin:$PATH
export PATH=${DrGPUM_PATH}/redshow/bin:$PATH

# Test a sample
cd samples/vectorAdd.f32
make
gvprof -v -e memory_liveness ./vectorAdd

Documentation

Papers

  • Mao Lin, Keren Zhou, and Pengfei Su. 2023. DrGPUM: Guiding Memory Optimization for GPU-accelerated Applications. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (ASPLOS ’23), March 25–29, 2023, Vancouver, BC, Canada. ACM, New York, NY, USA, 15 pages.