Questions tagged [gpu]

Acronym for "Graphics Processing Unit". For programming traditional graphical applications, see the tag entry for "graphics programming". For general-purpose programming using GPUs, see the tag entry for "gpgpu". For specific GPU programming technologies, see the popular tag entries for "opencl", "cuda" and "thrust".

Acronym for "Graphics Processing Unit". For programming traditional graphical applications, see the tag entry for . For general-purpose programming using GPUs, see the tag entry for . For specific GPU programming technologies, see the popular tag entries for , and .

More information on GPU at http://en.wikipedia.org/wiki/Graphics_processing_unit

8854 questions
25
votes
3 answers

Julia in Google Colab

I am trying to setup Julia with Google Colab. Installation instructions as in https://discourse.julialang.org/t/julia-on-google-colab-free-gpu-accelerated-shareable-notebooks/15319 have been followed. Despite that, I am unable to launch Julia. I am…
user3856486
  • 515
  • 1
  • 4
  • 16
25
votes
1 answer

Interpretation of intel_gpu_top output

Can anyone shed any light on the output of intel_gpu_top? Specifically, what is task GAM, VS etc (The man page isn't much help.) What does bitstream busy mean? It always seems to be zero... render busy: 45%: █████████ …
Rob Agar
  • 12,337
  • 5
  • 48
  • 63
25
votes
1 answer

How to use AMD Display Library (ADL) Overdrive State Set function (for overclocking programmatically)

I'm using AMD Display Library which basically allows us to control certain parameters of the GPU (Clock Speeds / Fan control). The SDK comes with a Sample-Managed code and I was able to get the required result (Core and Memory clock speeds) from…
Basit Anwer
  • 6,742
  • 7
  • 45
  • 88
25
votes
6 answers

Missing recommended library: libGLU.so

I am trying to install NVIDIA CUDA. When it is installing the tool kit, it displayed the following error message. Missing recommended library: libGLU.so Missing recommended library: libXi.so Missing recommended library: libXmu.so I am not a Linux…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
25
votes
1 answer

how to cast thrust::device_vector to raw pointer

I have a thrust device_vector. I want to cast it to a raw pointer so that I can pass it to a kernel. How can I do so? thrust::device_vector dv(10); //CAST TO RAW kernel<<>>(pass raw)
Programmer
  • 6,565
  • 25
  • 78
  • 125
25
votes
1 answer

MPI vs GPU vs Hadoop, what are the major difference between these three parallelism?

I know for some machine learning algorithm like random forest, which are by nature should be implemented in parallel. I do a home work and find there are these three parallel programming framework, so I am interested in knowing what are the major…
user974270
  • 627
  • 3
  • 8
  • 18
24
votes
8 answers

RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED using pytorch

I am trying to run a simple pytorch sample code. It's works fine using CPU. But when using GPU, i get this error message: Traceback (most recent call last): File "", line 1, in File…
Eduardo H
  • 341
  • 1
  • 2
  • 3
24
votes
1 answer

pytorch when do I need to use `.to(device)` on a model or tensor?

I am new to Pytorch, but it seems pretty nice. My only question was when to use tensor.to(device) or Module.nn.to(device). I was reading the documentation on this topic, and it indicates that this method will move the tensor or model to the…
krishnab
  • 9,270
  • 12
  • 66
  • 123
24
votes
4 answers

get the CUDA and CUDNN version on windows with Anaconda installe

There is a tensorflow-gpu version installed on Windows using Anaconda, how to check the CUDA and CUDNN version of it? Thanks.
user297850
  • 7,705
  • 17
  • 54
  • 76
24
votes
2 answers

What is coherent memory on GPU?

I have stumbled not once into a term "non coherent" and "coherent" memory in the tech papers related to graphics programming.I have been searching for a simple and clear explanation,but found mostly 'hardcore' papers of this type.I would be glad to…
Michael IV
  • 11,016
  • 12
  • 92
  • 223
24
votes
5 answers

cuda program on VMware

i wrote a cuda program and i am testing it on ubuntu as a virtual machine. the reason for this is i have windows 7, i don't want to install ubuntu as a secondary operating system, and i need to use a linux operating system for testing. my question…
scatman
  • 335
  • 1
  • 3
  • 5
24
votes
1 answer

Beginning OpenCL tutorials?

I have seen some videos and articles about how powerful OpenCL can be - and I'm hooked. The problem is there is a LOT less resources out there to help you with OpenCL then .. say OpenGL. I am looking for some pointers to some beginning OpenCL (e.g.…
PersonWithName
  • 848
  • 2
  • 13
  • 19
24
votes
4 answers

Is there any way to get GPU information?

I know how to get CPU info inside /proc/, but is there any way to get GPU info? Something like the CPU one?
Rotary Heart
  • 1,899
  • 3
  • 29
  • 44
24
votes
6 answers

Resetting GPU and driver after CUDA error

Sometimes, bugs in my CUDA programs cause the desktop graphics to break (in Windows). Typically, the screen remains somewhat readable, but when graphics change, such as when dragging a window, lots of semi-random colored pixels and small blocks…
Roger Dahl
  • 15,132
  • 8
  • 62
  • 82
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