Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 230 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 230 Bytes

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