Streaming multiprocessors, Blocks and Threads (CUDA)

The thread / block layout is described in detail in the CUDA programming guide. In particular, chapter 4 states: The CUDA architecture is built around a scalable array of multithreaded Streaming Multiprocessors (SMs). When a CUDA program on the host CPU invokes a kernel grid, the blocks of the grid are enumerated and distributed to … Read more

NVIDIA vs AMD: GPGPU performance

Metaphorically speaking ati has a good engine compared to nvidia. But nvidia has a better car 😀 This is mostly because nvidia has invested good amount of its resources (in money and people) to develop important libraries required for scientific computing (BLAS, FFT), and then a good job again in promoting it. This may be … Read more

How to get the nvidia driver version from the command line?

Using nvidia-smi should tell you that: bwood@mybox:~$ nvidia-smi Mon Oct 29 12:30:02 2012 +——————————————————+ | NVIDIA-SMI 3.295.41 Driver Version: 295.41 | |——————————-+———————-+———————-+ | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB | | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. | |===============================+======================+======================| | 0. GeForce … Read more

GPU Emulator for CUDA programming without the hardware [closed]

For those who are seeking the answer in 2016 (and even 2017) … Disclaimer I’ve failed to emulate GPU after all. It might be possible to use gpuocelot if you satisfy its list of dependencies. I’ve tried to get an emulator for BunsenLabs (Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) i686 GNU/Linux). I’ll tell you … Read more

How do I select which GPU to run a job on?

The problem was caused by not setting the CUDA_VISIBLE_DEVICES variable within the shell correctly. To specify CUDA device 1 for example, you would set the CUDA_VISIBLE_DEVICES using export CUDA_VISIBLE_DEVICES=1 or CUDA_VISIBLE_DEVICES=1 ./cuda_executable The former sets the variable for the life of the current shell, the latter only for the lifespan of that particular executable invocation. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)