refrence error in cuda secton