Update student_func.cu

initial version :: todo compact