add gpu test
fix nnsetup defaults for gpu
fix bug