Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 46bd820

Browse files
committed
benchmark_fixture.h: silence -Wsign-compare
1 parent 437a3b8 commit 46bd820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tc/benchmarks/benchmark_fixture.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ struct Benchmark : public ::testing::Test {
6565
void SetUp() {
6666
if (!FLAGS_disable_version_checks) {
6767
auto cudnnVersion = cudnnGetVersion();
68-
TC_CHECK_LE(6021, cudnnVersion)
68+
TC_CHECK_LE(6021u, cudnnVersion)
6969
<< "[CUDNN][VERSION] Enforce version compatibility check";
7070

7171
auto cudaRtVersion = cudnnGetCudartVersion();
72-
TC_CHECK_LE(8000, cudaRtVersion)
72+
TC_CHECK_LE(8000u, cudaRtVersion)
7373
<< "[CUDART][VERSION] Enforce version compatibility check";
7474

7575
int cublasVersion;

0 commit comments

Comments
 (0)