successful min and max debug: 1. cudaMalloc(), 2. reduce block on cpu