make nnff or nnff_gpu decision automatic