remove annotated code

This commit is contained in:
qinzheng 2022-02-22 15:47:35 +08:00
parent b0e0bb6477
commit 50b0cfcc55
3 changed files with 0 additions and 14 deletions

View File

@ -94,20 +94,8 @@ class Future : public FutureBase {
return data->t; return data->t;
} }
// try {
data->t = data->future.get(); data->t = data->future.get();
data->gotten = true; 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; return data->t;
} }

View File

@ -920,7 +920,6 @@ int NnieCommRun(NnieRunCfg *nnie_run_cfg, bool run_box) {
LOGE("seg num err!\n"); LOGE("seg num err!\n");
return RET_ERROR; return RET_ERROR;
} }
// NniePrintReportResultInputSeg(&nnie_run_cfg->param_, segidx);
nnie_run_cfg->run_idx_.node_idx_ = 0; nnie_run_cfg->run_idx_.node_idx_ = 0;
if (run_box) { if (run_box) {
ret = ret =

View File

@ -70,7 +70,6 @@ class OpenGLRuntime {
bool CopyDeviceTextureToSSBO(GLuint textureID, GLuint ssboBufferID); bool CopyDeviceTextureToSSBO(GLuint textureID, GLuint ssboBufferID);
bool CopyDeviceSSBOToTexture(GLuint ssboBufferID, GLuint textureID); bool CopyDeviceSSBOToTexture(GLuint ssboBufferID, GLuint textureID);
// GLuint CopyHostToDeviceTexture(void *hostData, int width, int height);
GLuint CopyHostToDeviceTexture(void *hostData, int width, int height, int channel); GLuint CopyHostToDeviceTexture(void *hostData, int width, int height, int channel);
void *CopyDeviceTextureToHost(GLuint textureID); void *CopyDeviceTextureToHost(GLuint textureID);