Skip to content

RajUpadhyay/Basic-Cuda-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Cuda Kernel Draw Shape

Draw a filled rectangle or a hollow rectangle (bounding box) usisng cuda programming.

System Environment

  • Hardware : Jetson Orin AGX
  • OS : Ubuntu 20.04
  • JetPack - 5.1.1
    • TensorRT - 8.5.2.2
    • Deepstream - 6.2
    • OpenCV - 4.6 + CUDA

Installation

git clone https://github.com/RajUpadhyay/Basic-Cuda-Programming.git
cd Basic-Cuda-Programming

compile

nvcc -o main -arch compute_87 drawShapeCudaKernel.cu `pkg-config --cflags --libs opencv4`
  • To check your arch compute, run the following on the terminal
    • nvcc --list-gpu-arch

About

This is a sample repo for those who want to draw bounding boxes or rectangles in gpu memory using cuda.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages