Skip to content

hahaliu2001/CUDAatScaleForTheEnterpriseCourseProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canny Edge detector using NVIDIA NPP with CUDA

Overview

This project demonstrates the use of NVIDIA Performance Primitives (NPP) library with CUDA to perform canny edge detector. The code read files in data folder one by one, then does NPP processing, generate processed image and then write to out_data/data folder

please check printout logs from output.txt

Code Organization

bin/ This folder should hold all binary/executable code that is built automatically or manually. Executable code should have use the .exe extension or programming language-specific extension.

data/ This folder should hold all example data in any format. If the original data is rather large or can be brought in via scripts, this can be left blank in the respository, so that it doesn't require major downloads when all that is desired is the code/structure.

src/ The source code should be placed here in a hierarchical fashion, as appropriate.

README.md This file should hold the description of the project so that anyone cloning or deciding if they want to clone this repository can understand its purpose to help with their decision.

Makefile There should be some rudimentary scripts for building your project's code in an automatic fashion.

run.sh directly run ./run.sh to clean->build and then run the test, the log write to output.txt file

Key Concepts

Performance Strategies, Image Processing, NPP Library

Supported OSes

Linux

Dependencies needed to build/run

FreeImage, NPP

install FreeImage

sudo apt install libfreeimage-dev -y

FreeImage.h is in /usr/include

Prerequisites

Download and install the CUDA Toolkit 11.4 for your corresponding platform. Make sure the dependencies mentioned in Dependencies section above are installed.

Build and Run

Linux

The Linux samples are built using makefiles. To use the makefiles, change the current directory to the sample directory you wish to build, and run make:

$ cd <sample_dir>
$ make

## Running the Program
After building the project, you can run the program using the following command:

```bash
make run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages