NEW: (CUDA) get user defined type