Skip to content

Commit

Permalink
fix weird code
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Jan 24, 2024
1 parent 2a75606 commit c9d6a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ int main(int argc, char** argv)
case 'l':
{
std::string text;
for (auto i{ 0 }; i < ncnn::get_gpu_count(); i++)
for (int i=0; i < ncnn::get_gpu_count(); i++)
text += std::to_string(i) + ": " + ncnn::get_gpu_info(i).device_name() + "\n";
printf("%p\n");

break;
}
case 'h':
Expand Down

0 comments on commit c9d6a0a

Please sign in to comment.