cuda-memcheck doesn't work when running on Autodesk Maya

Hi,

cuda-memcheck does not catch any error when run on plugins using CUDA inside Autodesk Maya on linux (CentOS-7, driver 418.43, cuda-10.1, Quadro RTX 6000).

As a side note, cuda-gdb actually fails with an internal driver error as soon as cuInit is called.

I have a test plugin that I can share privately that can help show the problem.

Cheers,

Aloys