test=develop, fix compile error under gpu mode

revert-15207-remove_op_handle_lock_and_fix_var
JiabinYang 6 years ago
parent f7fb937bfe
commit 5ec9b37798

@ -92,7 +92,8 @@ class LookupTableCUDAKernel : public framework::OpKernel<T> {
// server
#ifdef PADDLE_WITH_DISTRIBUTE
operators::distributed::prefetch(id_name, out_name, table_names, epmap,
height_sections, context);
height_sections, context,
context.scope());
#else
PADDLE_THROW(
"paddle is not compiled with distribute support, can not do "

Loading…
Cancel
Save