From ff97c709dfe25f2470e489505db4293eb0206d95 Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Mon, 30 Jul 2018 15:32:20 +0800 Subject: [PATCH] clean up --- paddle/fluid/platform/device_tracer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/platform/device_tracer.cc b/paddle/fluid/platform/device_tracer.cc index 90ab85905d5..d9e2afadaf8 100644 --- a/paddle/fluid/platform/device_tracer.cc +++ b/paddle/fluid/platform/device_tracer.cc @@ -273,7 +273,6 @@ class DeviceTracerImpl : public DeviceTracer { proto::Profile profile_pb; profile_pb.set_start_ns(start_ns_); profile_pb.set_end_ns(end_ns_); - std::string kernel_name; for (const KernelRecord &r : kernel_records_) { if (correlations_.find(r.correlation_id) == correlations_.end()) { fprintf(stderr, "cannot relate a kernel activity\n"); -- GitLab