Tags » Cuda

nvidia-smi on MacOS

Writing CUDA code on Mac and missing your beloved nvidia-smi program terribly? Check cuda-smi, my simple utility program for almost the same purpose. It runs on Mac, of course. 64 more words

Implementation

[ Linux ] 在 Ubuntu 14.04 上安裝cuda 7.0 (For testing Theano)

上次剛裝好,結果又忘記了很多步驟,其實大部分是參考官網說明就可以。

CUDA INSTALLATION GUIDE

Ubuntu 14.04 64 bit

(1) 下載deb package

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb

(2) install CUDA 7.0

sudo dkpg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb

sudo apt-get update

sudo apt-get install cuda…

70 more words
Linux

CMake fails looking for CUDA_TOOLKIT_ROOT_DIR

Problem

You have installed CUDA and try to compile a CUDA program using a CMake, which fails with this error:

$ cmake ..
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:548 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)
… 148 more words

Syntax highlighting for CUDA in Vim

Problem

Vim has had syntax highlighting support for CUDA source files for a long time now. You can check this: open any .cu file and try the command… 193 more words

target_include_directories does not work with CUDA

Problem

target_include_directories is an useful CMake directive to specify the include directories for building a particular target, as described here. The FindCUDA module for CMake which handles CUDA compilation seems to completely ignore this directive. 91 more words

Classic Cars

Welcome to my blog page! Something I am passionate about and feel like sharing with you is my obsession with muscle cars. I have owned and restored several over the span of my years and I am currently running a blue mood because there is not a project sitting in my garage. 88 more words