remove dependence of cublas from rbf kernel