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
25
votes
3 answers

Could not load dynamic library 'libnvinfer.so.7'

I know that this question has been asked a lot, but none of the suggestions seem to work, probably since my setup is somewhat different: Ubuntu 22.04 python 3.10.8 tensorflow 2.11.0 cudatoolkit 11.2.2 cudnn …
Daniel von Eschwege
  • 481
  • 1
  • 4
  • 10
25
votes
3 answers

How to run tensorflow with gpu support in docker-compose?

I want to create some neural network in tensorflow 2.x that trains on a GPU and I want to set up all the necessary infrastructure inside a docker-compose network (assuming that this is actually possible for now). As far as I know, in order to train…
Kevin Südmersen
  • 883
  • 2
  • 14
  • 24
25
votes
12 answers

Error -1001 in clGetPlatformIDs Call !

I am trying to start working with OpenCL. I have two NVidia graphics card, I installed "developer driver" as well as SDK from NVidia website. I compiled the demos but when I run ./oclDeviceQuery I see: OpenCL SW Info: Error -1001 in…
tnorgd
  • 1,580
  • 2
  • 14
  • 24
25
votes
2 answers

What is a CUDA context?

Can anyone please explain or refer me some good source about what is a CUDA context? I searched CUDA developer guide and I was not satisfied with it. Any explanation or help will be great.
Vraj Pandya
  • 591
  • 1
  • 9
  • 13
24
votes
5 answers

VAO and element array buffer state

I was recently writing some OpenGL 3.3 code with Vertex Array Objects (VAO) and tested it later on Intel graphics adapter where I found, to my disappointment, that element array buffer binding is evidently not part of VAO state, as…
the swine
  • 10,713
  • 7
  • 58
  • 100
24
votes
3 answers

Tensorflow cannot open libcuda.so.1

I have a laptop with a GeForce 940 MX. I want to get Tensorflow up and running on the gpu. I installed everything from their tutorial page, now when I import Tensorflow, I get >>> import tensorflow as tf I…
Qubix
  • 4,161
  • 7
  • 36
  • 73
24
votes
2 answers

How to check nvidia-docker version?

I have tried nvidia-docker --version, but it seems just showing docker's version. After some investigation of official documents, I could not find any information about this. How to check nvidia-docker 's version?
keisuke
  • 2,123
  • 4
  • 20
  • 31
24
votes
1 answer

CUDA runtime version vs CUDA driver version - what's the difference?

The CUDA Runtime API exposes the functions cudaRuntimeGetVersion() and cudaDriverGetVersion() (see detailed description here). I was sort of expecting the first one to give me "8.0" (for CUDA 8.0) and the second one to give me the same string as…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
24
votes
2 answers

How to measure the inner kernel time in NVIDIA CUDA?

I want to measure time inner kernel of GPU, how how to measure it in NVIDIA CUDA? e.g. __global__ void kernelSample() { some code here get start time some code here get stop time some code here }
Amin
  • 371
  • 1
  • 2
  • 7
21
votes
8 answers

Tensorflow CUDA - CUPTI error: CUPTI could not be loaded or symbol could not be found

I use the Tensorflow v 1.14.0. I work on Windows 10. And here is how relevant environment variables look in the PATH: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin C:\Program Files\NVIDIA GPU Computing…
edn
  • 1,981
  • 3
  • 26
  • 56
21
votes
5 answers

nvidia-smi Failed to initialize NVML: GPU access blocked by the operating system

when asking for nvidia-smi it gives this error: Failed to initialize NVML: GPU access blocked by the operating system other information: $ nvcc --verion nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2015 NVIDIA Corporation Built on…
Majid Azimi
  • 907
  • 1
  • 11
  • 29
21
votes
7 answers

How to install Cudnn from command line

Cudnn: https://developer.nvidia.com/cudnn I login and go jump through all the hoops that NVIDIA wants you to do; however, when it comes time to download the file I can't seem to figure out how to do it via wget and the command line. I was hoping…
user678392
  • 1,981
  • 3
  • 28
  • 50
20
votes
2 answers

NVidia drivers not running on AWS after restarting the AMI

everybody, I have the following problem: I started a P2 instance with this AMI. I installed some tools like screen, torch, etc. Then I successfully run some experiments using GPU and I created an image of the instance, so that I can terminate it and…
Peter Hroššo
  • 326
  • 2
  • 7
19
votes
8 answers

How to install nvidia apex on Google Colab

what I did is follow the instruction on the official github site !git clone https://github.com/NVIDIA/apex !cd apex !pip install -v --no-cache-dir ./ it gives me the error: ERROR: Directory './' is not installable. Neither 'setup.py' nor…
Tommy Yu
  • 1,080
  • 3
  • 11
  • 30
19
votes
1 answer

what is Device interconnect StreamExecutor with strength 1 edge matrix

I have four NVIDIA GTX 1080 graphic cards and when I'm initializing a session I see following console output: Adding visible gpu devices: 0, 1, 2, 3 Device interconnect StreamExecutor with strength 1 edge matrix: 0 1 2 3 0: N Y N N 1: …
Ivan Talalaev
  • 6,014
  • 9
  • 40
  • 49