aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ArmnnPreparedModel.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/ArmnnPreparedModel.cpp b/ArmnnPreparedModel.cpp
index 1395377e..d338fdc8 100644
--- a/ArmnnPreparedModel.cpp
+++ b/ArmnnPreparedModel.cpp
@@ -227,11 +227,6 @@ void ArmnnPreparedModel::ExecuteGraph(std::shared_ptr<std::vector<::android::nn:
{
ALOGV("ArmnnPreparedModel::ExecuteGraph(...)");
- if (m_GpuProfilingEnabled)
- {
- m_Runtime->GetProfiler(m_NetworkId)->EnableProfiling(true);
- }
-
DumpTensorsIfRequired("Input", *pInputTensors);
// run it
@@ -248,11 +243,6 @@ void ArmnnPreparedModel::ExecuteGraph(std::shared_ptr<std::vector<::android::nn:
DumpTensorsIfRequired("Output", *pOutputTensors);
- if (m_GpuProfilingEnabled && !m_RequestInputsAndOutputsDumpDir.empty())
- {
- DumpJsonProfiling(m_RequestInputsAndOutputsDumpDir, m_Runtime, m_NetworkId);
- }
-
// Commit output buffers.
// Note that we update *all* pools, even if they aren't actually used as outputs -
// this is simpler and is what the CpuExecutor does.