diff --git a/examples/resnet-runtime.cpp b/examples/resnet-runtime.cpp index bb65801c61..db154e7a81 100644 --- a/examples/resnet-runtime.cpp +++ b/examples/resnet-runtime.cpp @@ -176,7 +176,6 @@ int main(int argc, char **argv) { std::atomic returned{0}; // Run up to maxImages classifications. - unsigned int currDevice{0}; while (started++ < maxImages) { if (code.value() != 0 || dirIt == llvm::sys::fs::directory_iterator()) { started--; @@ -207,7 +206,6 @@ int main(int argc, char **argv) { returned, finished); dirIt.increment(code); - currDevice++; } finished.get_future().wait();