delete white spaces at the end of line

I used this command:

```bash
for i in `find . -type f | egrep "*.def$|*.h$|*.cpp$|*.cu$|*.hpp$|*.tpp$|*.kernel$|*.loader$|*.param$|*.unitless$" ` ;  do grep ^.*[[:space:]]$ $i >/dev/null ; if [ $? -eq 0 ] ; then sed -i 's/\(^.*[^[:space:]]\)[[:space:]]*$/\1/g' $i >/dev/null ;  echo $i ; fi ; done
```