From 5ec9b377983417e6a29f43b18bf5c830f6ca8a81 Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Wed, 19 Dec 2018 04:48:45 +0000 Subject: [PATCH] test=develop, fix compile error under gpu mode --- paddle/fluid/operators/lookup_table_op.cu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/operators/lookup_table_op.cu b/paddle/fluid/operators/lookup_table_op.cu index 6a0d6bad5..fd15539f7 100644 --- a/paddle/fluid/operators/lookup_table_op.cu +++ b/paddle/fluid/operators/lookup_table_op.cu @@ -92,7 +92,8 @@ class LookupTableCUDAKernel : public framework::OpKernel { // 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 " -- GitLab