test time, while n >= 16M, gpu is faster than cpu