JuliaGPU / CUDA.jl

CUDA programming in Julia.

Home Page:https://juliagpu.org/cuda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NSight Compute: prevent API calls during precompilation

maleadt opened this issue · comments

Otherwise you'll end up attaching to the precompilation process.

Also, the docs are out of date, because it waits for the debugger now during using CUDA, and not when doing the first CUDA operation.

This turns out to be tricky, as NSight Compute also breaks on version queries, which we do during platform augmentation and during forwards-compatible driver selection. So instead I've added to the docs that it's recommended to precompile all dependencies before profiling.