diff --git a/mindspore/core/mindrt/include/async/future.h b/mindspore/core/mindrt/include/async/future.h index 306974b0e8c..4330cb177eb 100644 --- a/mindspore/core/mindrt/include/async/future.h +++ b/mindspore/core/mindrt/include/async/future.h @@ -94,20 +94,8 @@ class Future : public FutureBase { return data->t; } - // try { data->t = data->future.get(); data->gotten = true; - // } catch (std::future_error const &e) { - // ICTSBASE_LOG_STRING(ICTSBASE_LOG_COMMON_CODE, HLOG_LEVEL_ERROR, PID_MINDRT_LOG, "Future error: %s", - // "%s", - // e.what()); - // } catch (std::exception const &e) { - // ICTSBASE_LOG_STRING(ICTSBASE_LOG_COMMON_CODE, HLOG_LEVEL_ERROR, PID_MINDRT_LOG, "Standard exception: - // %s", - // "%s", e.what()); - // } catch (...) { - // ICTSBASE_LOG0(ICTSBASE_LOG_COMMON_CODE, HLOG_LEVEL_ERROR, PID_MINDRT_LOG, "Unknown exception."); - // } return data->t; } diff --git a/mindspore/lite/tools/benchmark/nnie/src/nnie_common.cc b/mindspore/lite/tools/benchmark/nnie/src/nnie_common.cc index 502e737493a..53dc4ccfd07 100644 --- a/mindspore/lite/tools/benchmark/nnie/src/nnie_common.cc +++ b/mindspore/lite/tools/benchmark/nnie/src/nnie_common.cc @@ -920,7 +920,6 @@ int NnieCommRun(NnieRunCfg *nnie_run_cfg, bool run_box) { LOGE("seg num err!\n"); return RET_ERROR; } - // NniePrintReportResultInputSeg(&nnie_run_cfg->param_, segidx); nnie_run_cfg->run_idx_.node_idx_ = 0; if (run_box) { ret = diff --git a/mindspore/lite/tools/common/opengl_util.h b/mindspore/lite/tools/common/opengl_util.h index 4edd4dcafa5..2f789f8d876 100644 --- a/mindspore/lite/tools/common/opengl_util.h +++ b/mindspore/lite/tools/common/opengl_util.h @@ -70,7 +70,6 @@ class OpenGLRuntime { bool CopyDeviceTextureToSSBO(GLuint textureID, GLuint ssboBufferID); bool CopyDeviceSSBOToTexture(GLuint ssboBufferID, GLuint textureID); - // GLuint CopyHostToDeviceTexture(void *hostData, int width, int height); GLuint CopyHostToDeviceTexture(void *hostData, int width, int height, int channel); void *CopyDeviceTextureToHost(GLuint textureID);