Skip to content

leimao/Nsight-Systems-Docker-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nsight Systems Docker Image

Introduction

This is a portable Nsight Systems Docker image which allows the user to profile executables anywhere using the Nsight Systems inside the Docker container.

Usages

Build Docker Image

To build the Docker image, please run the following command.

$ docker build -f nsight-systems.Dockerfile --no-cache --tag=nsight-systems:2023.4 .

Run Docker Container

To run the Docker container, please run the following command.

$ xhost +
$ docker run -it --rm --gpus all -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --cap-add=SYS_ADMIN --security-opt seccomp=unconfined -v $(pwd):/mnt --network=host nsight-systems:2023.4
$ xhost -

Build Examples

$ cd $(pwd):/mnt/examples
$ nvcc async_non_pinned_memory.cu -o async_non_pinned_memory
$ nvcc async_pinned_memory.cu -o async_pinned_memory

Run Nsight Systems

$ nsys-ui

Run Nsight Compute

$ ncu-ui

Releases

No releases published

Packages

No packages published