Accelerate lstm

revert-15207-remove_op_handle_lock_and_fix_var
minqiyang 6 years ago
parent a3fa3f85d7
commit 454db6662e

@ -180,7 +180,7 @@ class ConcatFunctor<platform::CUDADeviceContext, T> {
} }
// Wait() must be called because `inputs_data` may be destructed before // Wait() must be called because `inputs_data` may be destructed before
// kernel ends // kernel ends
context.Wait(); /* context.Wait(); */
} }
}; };
@ -258,7 +258,7 @@ class SplitFunctor<platform::CUDADeviceContext, T> {
} }
// Wait() must be called because `outputs_data` may be destructed before // Wait() must be called because `outputs_data` may be destructed before
// kernel ends // kernel ends
context.Wait(); /* context.Wait(); */
} }
}; };

Loading…
Cancel
Save