- Hands-On GPU Programming with Python and CUDA
- Dr. Brian Tuomanen
- 229字
- 2021-06-10 19:25:35
Checking your hardware (Linux)
We will now do a few basic checks in Linux to ensure that we have the right hardware. Let's first open up a Terminal and drop to the bash command line—you can do this quickly in Ubuntu by pressing the combination Ctrl + Alt + T.
Let's now check our processor by typing lscpu and pressing Enter. A lot of information will appear, but just look at the first line and make sure that the architecture is indeed x86_64:
Next, we check our memory capacity by typing free -g at the bash prompt and then again press Enter. This will tell us the total number of proper memory that we have in gigabytes in the first entry of the first row, as well as the amount of memory in swap space in the following row:
This is certainly sufficient memory.
Finally, let's see whether we have an appropriate GPU. NVIDIA GPUs communicate with our PC via the PCI bus, so we can use the lspci command to list all PCI hardware. There is usually a lot of other hardware listed, so let's use the grep command to filter for just NVIDIA GPUs by entering lspci | grep -e "NVIDIA" at the bash prompt:
This is a GTX 1070, which fortunately exceeds our need for at least a GTX 1050.
- Windows Server 2019 Cookbook
- Linux從零開始學(xué)(視頻教學(xué)版)
- Instant Handlebars.js
- 玩到極致 iPhone 4S完全攻略
- Instant Optimizing Embedded Systems using Busybox
- 嵌入式系統(tǒng)及其應(yīng)用(第三版)
- Linux內(nèi)核設(shè)計的藝術(shù):圖解Linux操作系統(tǒng)架構(gòu)設(shè)計與實現(xiàn)原理
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- 分布式高可用架構(gòu)之道
- Learning BeagleBone
- Windows Server 2008組網(wǎng)技術(shù)與實訓(xùn)(第3版)
- Linux系統(tǒng)管理初學(xué)者指南:基于CentOS 7.6
- Getting Started with UDK
- Linux指令從初學(xué)到精通
- OpenSolaris紅寶書