Questions tagged [nvidia]

For programming questions specifically related to Nvidia hardware. N.B. Questions about system configuration are usually off-topic here!

Nvidia is an American global technology company based in Santa Clara, California, best known for its graphics processors (GPUs).

More about Nvidia at http://en.wikipedia.org/wiki/Nvidia
Nvidia website at http://www.nvidia.com/content/global/global.php

3668 questions
62
votes
5 answers

What is the difference between cuda vs tensor cores?

I am completely new to terms related to HPC computing, but I just saw that EC2 released its new type of instance on AWS that's powered by the new Nvidia Tesla V100, which has both kinds of "cores": Cuda Cores (5,120) and Tensor Cores (640). What is…
61
votes
7 answers

Error compiling CUDA from Command Prompt

I'm trying to compile a cuda test program on Windows 7 via Command Prompt, I'm this command: nvcc test.cu But all I get is this error: nvcc fatal : Cannot find compiler 'cl.exe' in PATH What may be causing this error?
GennSev
  • 1,586
  • 4
  • 20
  • 29
57
votes
8 answers

Swing rendering appears broken in JDK 1.8, correct in JDK 1.7

I have installed IntelliJ IDEA (13.1.1 #IC-135.480) and JDK 1.8.0 (x64) and I generated some GUI with the GUI Form designer. Then I ran the code and realized that something is not alright. Here is a Screenshot of my GUI: The rendering of the Font…
duffy356
  • 3,678
  • 3
  • 32
  • 47
52
votes
2 answers

Running more than one CUDA applications on one GPU

CUDA document does not specific how many CUDA process can share one GPU. For example, if I launch more than one CUDA programs by the same user with only one GPU card installed in the system, what is the effect? Will it guarantee the correctness of…
cache
  • 1,239
  • 3
  • 13
  • 21
48
votes
8 answers

Tensorflow not running on GPU

I have aldready spent a considerable of time digging around on stack overflow and else looking for the answer, but couldn't find anything Hi all, I am running Tensorflow with Keras on top. I am 90% sure I installed Tensorflow GPU, is there any way…
valegians
  • 850
  • 1
  • 7
  • 17
45
votes
1 answer

What does #pragma unroll do exactly? Does it affect the number of threads?

I'm new to CUDA, and I can't understand loop unrolling. I've written a piece of code to understand the technique __global__ void kernel(float *b, int size) { int tid = blockDim.x * blockIdx.x + threadIdx.x; #pragma unroll for(int…
Magzhan Abdibayev
  • 657
  • 1
  • 7
  • 12
44
votes
6 answers

How to kill process on GPUs with PID in nvidia-smi using keyword?

How to kill running processes on GPUs for a specific program (e.g. python) in terminal? For example two processes are running with python in the top picture and kill them to see the bottom picture in nvidia-smi
salehinejad
  • 7,258
  • 3
  • 18
  • 26
43
votes
5 answers

OpenGL without X.org in linux

I'd like to open an OpenGL context without X in Linux. Is there any way at all to do it? I know it's possible for integrated Intel graphics card hardware, though most people have Nvidia cards in their system. I'd like to get a solution that works…
Cheery
  • 24,645
  • 16
  • 59
  • 83
41
votes
4 answers

How does CUDA assign device IDs to GPUs?

When a computer has multiple CUDA-capable GPUs, each GPU is assigned a device ID. By default, CUDA kernels execute on device ID 0. You can use cudaSetDevice(int device) to select a different device. Let's say I have two GPUs in my machine: a GTX 480…
solvingPuzzles
  • 8,541
  • 16
  • 69
  • 112
40
votes
2 answers

X hangs up because of application (use C++, Qt, OpenGL)

My application gets data from the network and draws it on the scene (scene uses handmade OpenGL engine). It works for several hours. When I'm not using my desktop, my monitor, because of Display Power Manager Signaling (dpms) turns off. And then,…
poljak181
  • 585
  • 4
  • 12
38
votes
8 answers

How do I run nvidia-smi on Windows?

nvidia-smi executed in a Command Prompt (CMD) in Windows returns the following error C:\Users>nvidia-smi 'nvidia-smi' is not recognized as an internal or external command, operable program or batch file. Where is it located? CUDA is installed…
dward4
  • 1,615
  • 3
  • 15
  • 30
38
votes
3 answers

How can I make tensorflow run on a GPU with capability 2.x?

I've successfully installed tensorflow (GPU) on Linux Ubuntu 16.04 and made some small changes in order to make it work with the new Ubuntu LTS release. However, I thought (who knows why) that my GPU met the minimum requirement of a compute…
mickkk
  • 1,172
  • 2
  • 17
  • 38
37
votes
4 answers

Why is my GPU slower than CPU when training LSTM/RNN models?

My machine has the following spec: CPU: Xeon E5-1620 v4 GPU: Titan X (Pascal) Ubuntu 16.04 Nvidia driver 375.26 CUDA tookit 8.0 cuDNN 5.1 I've benchmarked on the following Keras examples with Tensorflow as the backed reference: SCRIPT NAME …
agsolid
  • 1,288
  • 2
  • 14
  • 23
34
votes
4 answers

Nvidia graphics driver causing noticeable frame stuttering

Ok I've been researching this issue for a few days now so let me go over what I know so far which leads me to believe this might be an issue with NVidia's driver and not my code. Basically my game starts stuttering after running a few seconds…
TylerGlaiel
  • 652
  • 7
  • 16
32
votes
5 answers

Explanation of CUDA C and C++

Can anyone give me a good explanation as to the nature of CUDA C and C++? As I understand it, CUDA is supposed to be C with NVIDIA's GPU libraries. As of right now CUDA C supports some C++ features but not others. What is NVIDIA's plan? Are they…
Tianxiang Xiong
  • 3,887
  • 9
  • 44
  • 63