Skip to content

This is a sample demo to show how main function in main.cpp call another functions in .cu files.

License

Notifications You must be signed in to change notification settings

cuiyixin555/cuda_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuda_demo

This is a sample demo to show how main function in main.cpp call another functions in .cu files.

compile cmd:

nvcc -o main.out main.cpp check.cu

run cmd:

./main.out

environment:

Ubuntu 22.04 + CUDA 11.3

About

This is a sample demo to show how main function in main.cpp call another functions in .cu files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published