Don't delete the old cublas handle, it cause crashes.
Add tag trace to shared variable to remember where we created them.
Merge pull request #1997 from nouiz/fixes_var

[CRASH, ENH] fix crash cublas and extra debug info for shared var.