For GPU training one thread is optimal