From 34890fd3b129f85f28489453ddd1d5f62dd526f7 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Thu, 28 Mar 2019 09:07:50 +0800 Subject: [PATCH] fix gpu build for lookup_table_op test=develop --- 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 0af8b9e69cf..a863af4af91 100644 --- a/paddle/fluid/operators/lookup_table_op.cu +++ b/paddle/fluid/operators/lookup_table_op.cu @@ -84,7 +84,8 @@ class LookupTableCUDAKernel : public framework::OpKernel { // for remote prefetch auto epmap = context.Attr>("epmap"); - auto height_sections = context.Attr>("height_sections"); + auto height_sections = + context.Attr>("height_sections"); auto table_names = context.Attr>("table_names"); if (!epmap.empty()) { -- GitLab