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
13
votes
2 answers

Using constants with CUDA

Which is the best way of using constants in CUDA? One way is to define constants in constant memory, like: // CUDA global constants __constant__ int M; int main(void) { ... cudaMemcpyToSymbol("M", &M, sizeof(M)); ... } An alterative…
jrsm
  • 1,595
  • 2
  • 18
  • 39
13
votes
4 answers

Nvidia 3d Video using DirectX11 and SlimDX in C#

Good day, I am trying to display a real-time stereo video using nvidia 3DVision and two IP cameras. I am totally new to DirectX, but have tried to work through some tutorials and other questions on this and other sites. For now, I am displaying two…
Ryan Lucke
  • 131
  • 1
  • 3
12
votes
3 answers

Does AMD's OpenCL offer something similar to CUDA's GPUDirect?

NVIDIA offers GPUDirect to reduce memory transfer overheads. I'm wondering if there is a similar concept for AMD/ATI? Specifically: 1) Do AMD GPUs avoid the second memory transfer when interfacing with network cards, as described here. In case…
arrayfire
  • 1,744
  • 12
  • 19
12
votes
1 answer

Black stripes on third screen

I have three screens, connected to two nVidia 560Ti cards, and when I move my WPF application to the third screen, connected to the second card, click on a item in a treeview, I get these black stripes across the app. The black lines disappear if I…
AkselK
  • 2,563
  • 21
  • 39
12
votes
1 answer

Win10 Electron Error: Passthrough is not supported, GL is disabled, ANGLE is

I have an electron repo (https://github.com/MartinBarker/RenderTune) which used to work on windows 10 fine when ran with command prompt. After a couple months I come back on a new fresh windows 10 machine with an Nvidia GPU, and the electron app…
Martin
  • 1,336
  • 4
  • 32
  • 69
12
votes
3 answers

Tensorflow 1.14 performance issue on rtx 3090

I am running a model written with TensorFlow 1.x on 4x RTX 3090 and it is taking a long time to start up the training than as in 1x RTX 3090. Although, as training starts, it gets finished up earlier in 4x than in 1x. I am using CUDA 11.1 and…
Thunder
  • 459
  • 3
  • 14
12
votes
4 answers

Install Tensorflow-GPU on WSL2

Has anyone successfully installed Tensorflow-GPU on WSL2 with NVIDIA GPUs? I have Ubuntu 18.04 on WSL2, but am struggling to get NVIDIA drivers installed. Any help would be appreciated as I'm lost.
adam.hendry
  • 4,458
  • 5
  • 24
  • 51
12
votes
1 answer

Is there any documentation for dnnlib: additional lib in projects of NVlabs?

There is special unified lib named dnnlib in noted projects from NVlabs like Noise2Noise, StyleGAN and etc. It seems like this lib was made for parsing and easy configuration, but it also participates in creating and managing tensorflow sessions.…
Arina Boiko
  • 143
  • 1
  • 9
12
votes
1 answer

Use Vulkan VkImage as a CUDA cuArray

What is the correct way of using a Vulkan VkImage as a CUDA cuArray? I've been trying to follow some examples, however I get a CUDA_ERROR_INVALID_VALUE on a call to cuExternalMemoryGetMappedMipmappedArray() To provide the information in an ordered…
jsantander
  • 4,972
  • 16
  • 27
12
votes
3 answers

Is Tensorflow 1.12 compatible with CUDA 10.1?

I've been able to successfully set up an Ubuntu 18.04 server with nvidia-smi 418.39, Driver version 418.39, and CUDA 10.1 I now have a user who wants to run TensorFlow but insists that it is not compatible with CUDA 10.1, only CUDA 10. There is no…
Eric Berry
  • 121
  • 1
  • 1
  • 3
12
votes
2 answers

Why is it faster to transfer data from CPU to GPU rather than GPU to CPU?

I've noticed that transferring data to recent high end GPUs is faster than gathering it back to the CPU. Here are the results using a benchmarking function provided to me by mathworks tech-support running on an older Nvidia K20 and a recent Nvidia…
avgn
  • 982
  • 6
  • 19
12
votes
1 answer

NVIDIA CUDA: What is the developer driver?

To develop NVIDIA CUDA programs, the tools needed are: Developer drivers CUDA Toolkit GPU Computing SDK What is this developer driver? Installing it silently overrides any NVIDIA graphics driver that is already installed. So, how is the developer…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
12
votes
2 answers

Is it unsafe to run multiple tensorflow processes on the same GPU?

I only have one GPU (Titan X Pascal, 12 GB VRAM) and I would like to train multiple models, in parallel, on the same GPU. I tried encapsulated my model in a single python program (called model.py), and I included code in model.py to restrict VRAM…
Adamo
  • 181
  • 1
  • 7
12
votes
1 answer

GPU is lost during execution of either Tensorflow or Theano code

When training either one of two different neural networks, one with Tensorflow and the other with Theano, sometimes after a random amount of time (could be a few hours or minutes, mostly a few hours), the execution freezes and I get this message by…
Mega
  • 495
  • 5
  • 16
12
votes
3 answers

X Error of failed request: BadValue (integer parameter out of range for operation)

I'm trying to compile and run this c++ code #include void displayMe(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex3f(0.0, 0.0, 0.0); glVertex3f(0.5, 0.0, 0.0); glVertex3f(0.5, 0.5,…
vmrfreitas
  • 183
  • 1
  • 2
  • 11