Skip to content

Commit 9678759

Browse files
Gowntafacebook-github-bot
authored andcommitted
facebook-unused-include-check in fbcode/kineto
Summary: Remove headers flagged by facebook-unused-include-check over fbcode.kineto. + format and autodeps This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle. You have been added as a reviewer by Sentinel or Butterfly. Autodiff project: uik Autodiff partition: fbcode.kineto Autodiff bookmark: ad.uik.fbcode.kineto Reviewed By: aaronenyeshi, dtolnay Differential Revision: D68904182 fbshipit-source-id: 0fadbb14810138032c256b9d77989c9c13c7a456
1 parent b2115df commit 9678759

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

libkineto/sample_programs/kineto_cupti_profiler.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
#include <stdio.h>
10-
#include <stdlib.h>
119
#include <chrono>
1210
#include <iostream>
1311
#include <string>

libkineto/sample_programs/kineto_playground.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
#include <stdio.h>
10-
#include <stdlib.h>
119
#include <iostream>
1210
#include <string>
1311

libkineto/src/EventProfiler.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "EventProfiler.h"
1010

11-
#include <assert.h>
1211
#include <fmt/format.h>
1312
#include <fmt/ranges.h>
1413
#include <time.h>
@@ -22,8 +21,6 @@
2221
#include <thread>
2322
#include <vector>
2423

25-
#include <cupti.h>
26-
2724
#include "CuptiEventApi.h"
2825
#include "Logger.h"
2926

libkineto/stress_test/kineto_stress_test.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
#include <thread>
1515
#include <vector>
1616

17-
#include <cuda.h>
1817
#include <cupti_activity.h>
1918
#include <libkineto.h>
20-
#include <sys/types.h>
2119
#include <unistd.h>
2220

2321
#include <ApproximateClock.h>

libkineto/test/PidInfoTest.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "include/ThreadUtil.h"
1010

11-
#include <atomic>
1211
#include <thread>
1312

1413
#include <gtest/gtest.h>

0 commit comments

Comments
 (0)