cuda-context Questions

1

Note: The question has been updated to address the questions that have been raised in the comments, and to emphasize that the core of the question is about the interdependencies between the Runtime...
Repro asked 8/2, 2018 at 1:19

1

Solved

Suppose I have an active CUDA context associated with device i, and I now call cudaSetDevice(i). What happens? : Nothing? Primary context replaces the top of the stack? Primary context is pushed o...
Cervantez asked 13/7, 2020 at 14:7

2

Solved

I thought I had the grasp of this but apparently I do not:) I need to perform parallel H.264 stream encoding with NVENC from frames that are not in any of the formats accepted by the encoder so I h...
Eichelberger asked 30/4, 2015 at 9:48

1

Solved

This question is a followup on Jason R's comment to Robert Crovellas answer on this original question ("Multiple CUDA contexts for one device - any sense?"): When you say that multiple contexts ...
Paling asked 7/11, 2019 at 11:0

1

I have a working app which uses Cuda / C++, but sometimes, because of memory leaks, throws exception. I need to be able to reset the GPU on live, my app is a server so it has to stay available. I ...
Capitalistic asked 27/5, 2019 at 16:8

2

Solved

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.
Obloquy asked 6/4, 2017 at 2:28

2

Solved

How can I create a CUDA context? The first call of CUDA is slow and I want to create the context before I launch my kernel.
Mastery asked 2/5, 2012 at 13:54

1

Solved

I want to understand how a cuda context is created and associated with a kernel in cuda runtime API applications? I know it is done under the hood by driver APIs. But I would like to understand th...
Prurigo asked 23/9, 2011 at 21:9

1

Solved

I am using an application presently that spawns a bunch of pthreads (linux), and each of those creates it's own CUDA context. (using cuda 3.2 right now). The problem I am having is that it seems ...
Juba asked 25/7, 2011 at 18:8

1

Solved

I'd like to pass a Cuda context between two independent Linux processes (using POSIX message queues, which I already have set up). Using cuCtxPopCurrent() and cuCtxPushCurrent(), I can get the con...
Beck asked 19/5, 2011 at 16:4
1

© 2022 - 2024 — McMap. All rights reserved.