[CRASH] Repair crash with cudnn r-1 following the removing of struct_id

I'm running the tests locally to make sure it work.