for tmp
 parallel grad
 add thread-safe grad merger
 .
 .
 .
 fixbug
 grad parallel compileted