JuliaGPU/CUDA.jl

Add stream pool to avoid cuStreamCreate overhead

Open

#2.012 aberto em 29 de jul. de 2023

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (274 forks)batch import
enhancementgood first issueperformance

Métricas do repositório

Stars
 (1.408 stars)
Métricas de merge de PR
 (Mesclagem média 5d 5h) (16 fundiu PRs em 30d)

Description

Describe the bug

I tried adding multithreading to our code, and now we see occasional pauses due to CuStreamCreate:

Could be fixed by adding a Stream pool?

To reproduce

Available on request

Expected behavior

No pauses

Version info

Not sure exactly, I think it was Julia 1.8.5 with CUDA.jl 3.13.1 and CUDA 11.2.

Once our cluster upgrades the drivers, I can rerun with CUDA 12.

Additional context

cc @lcw

Guia do colaborador