Does ROOT building load the stub version of cudaRT?

Did you build ROOT with NVHPC? AFAIK that’s not actually possible?

Do you have a reproducer? Which library produces the Cuda API error - is this a ROOT library?