- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Bhaumik Vaidya
- 223字
- 2021-08-13 15:48:17
Standard C compiler
Whenever you are running a CUDA application, it will need two compilers: one for GPU code and one for CPU code. The compiler for the GPU code will come with an installation of CUDA toolkit, which will be discussed in the next section. You also need to install a standard C compiler for executing CPU code. There are different C compilers based on the operating systems:
- On Windows: For all Microsoft Windows editions, it is recommended to use Microsoft Visual Studio C compiler. It comes with Microsoft Visual Studio and can be downloaded from its official website: https://www.visualstudio.com/downloads/.
The express edition for commercial applications needs to be purchased, but you can use community editions for free in non-commercial applications. For running the CUDA application, install Microsoft Visual Studio with a Microsoft Visual Studio C compiler selected. Different CUDA versions support different Visual Studio editions, so you can refer to the NVIDIA CUDA website for Visual Studio version support.
- On Linux: Mostly, all Linux distributions come with a standard GNU C Complier (GCC), and hence it can be used to compile CPU code for CUDA applications.
- On Mac: On the Mac operating system, you can install a GCC compiler by downloading and installing Xcode for macOS. It is freely available and can be downloaded from Apple's website:
- Mastering RabbitMQ
- Docker進階與實戰
- Vue.js快跑:構建觸手可及的高性能Web應用
- React Native Cookbook
- C# 從入門到項目實踐(超值版)
- C# 8.0核心技術指南(原書第8版)
- Python深度學習:模型、方法與實現
- Frank Kane's Taming Big Data with Apache Spark and Python
- 智能手機故障檢測與維修從入門到精通
- Python語言科研繪圖與學術圖表繪制從入門到精通
- Learning Nessus for Penetration Testing
- 測試架構師修煉之道:從測試工程師到測試架構師
- 愛上C語言:C KISS
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- C# 7.0本質論