Directed graphs whose nodes are CUDA operations (kernel launches, memory copies etc.) and edges are dependencies. They are used to schedule multiple inter-dependent operations for execution on GPUs with a single API call.
Questions tagged [cuda-graphs]
18 questions
0
votes
1 answer
Is changing the device in a CUDA Graph node unavailable?
I have tried to change the current device in CUDA graphs by creating this host node:
cudaGraph_t graph;
// Node #1: Create the 1st setDevice
cudaHostNodeParams hostNodeParams = {0};
memset(&hostNodeParams, 0,…

AmirSojoodi
- 1,080
- 2
- 12
- 31
0
votes
1 answer
CUDA graph stream capture with thrust::reduce
When I am trying to capture stream execution to build CUDA graph, call to thrust::reduce causes a runtime error cudaErrorStreamCaptureUnsupported: operation not permitted when stream is capturing. I have tried returning the reduction result to both…

Cos_ma
- 75
- 9
-1
votes
1 answer
CUDA graph does not run as expected
I'm using the following the code to learn about how to use "CUDA graphs". The parameter NSTEP is set as 1000, and the parameter NKERNEL is set as 20. The kernel function shortKernel has three parameters, it will perform a simple…

Jackson
- 1
- 2