fixed bug. Test single-gpu performance.