- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Bhaumik Vaidya
- 124字
- 2021-08-13 15:48:19
Steps for creating a CUDA C program on Ubuntu
This section describes the steps to create and execute a basic CUDA C program on Ubuntu using the Nsight Eclipse plugin. The steps are as follows:
- Open Nsight by opening Terminal and typing nsight into it.
- Go to File | New |CUDA C/C++ Projects.
- Give your desired name to the project and click on OK.
- It will create a project with a sample file. Now open this file by double-clicking on it.
- Delete the existing code from the file and write the given code earlier.
- Run the code by pressing the play button. If everything works correctly, you will see Hello, CUDA! displayed on Terminal as shown here:

推薦閱讀
- Go Web編程
- Deploying Node.js
- 潮流:UI設(shè)計必修課
- Web程序設(shè)計(第二版)
- Hands-On Swift 5 Microservices Development
- Spring Boot Cookbook
- 計算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- Python圖形化編程(微課版)
- INSTANT Yii 1.1 Application Development Starter
- Spring+Spring MVC+MyBatis從零開始學(xué)
- C++語言程序設(shè)計
- Arduino Wearable Projects
- ASP.NET開發(fā)寶典
- Python應(yīng)用開發(fā)技術(shù)
- Extending Docker