Backend errors "device-side assert" usabiliy

Would it be possible to get nice error messages for cuda side errors which yield “device-side assert…”

Currently there are errors which give nice readable messages only when using the cpu.

Is there anyway to get this symmetric?

Unfortunately cuda does not give the possibility to have a message with device-side assert on gpu :confused:
A good thing to do to debug such issues is usually to run with CUDA_LAUNCH_BLOCKING=1.