Skip to content

Commit 9c04f1b

Browse files
committed
no more timing after free
1 parent 652b52d commit 9c04f1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

highs/pdlp/cupdlp/cupdlp_utils.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ cupdlp_int PDHG_Clear(CUPDLPwork *w) {
341341
timers_clear(w->settings->nLogLevel, timers);
342342
}
343343

344-
cupdlp_float begin = getTimeStamp();
344+
// cupdlp_float begin = getTimeStamp();
345345
#ifndef CUPDLP_CPU
346346

347347
// CUDAmv *MV = w->MV;
@@ -389,9 +389,9 @@ cupdlp_int PDHG_Clear(CUPDLPwork *w) {
389389
resobj_clear(resobj);
390390
}
391391

392-
#ifndef CUPDLP_CPU
393-
timers->FreeDeviceMemTime += getTimeStamp() - begin;
394-
#endif
392+
// #ifndef CUPDLP_CPU
393+
// timers->FreeDeviceMemTime += getTimeStamp() - begin;
394+
// #endif
395395

396396
if (settings) {
397397
settings_clear(settings);

0 commit comments

Comments
 (0)