Skip to content

Commit

Permalink
Namespace doesn't need to be followed by semicolon
Browse files Browse the repository at this point in the history
Summary:
Auto-generated with
```
fbgs "}; // namespace" -l | sort | uniq | sed 's/fbsource.//' | xargs -n 50 sed -i 's_}; // namespace_} // namespace_'
```

Reviewed By: dmm-fb

Differential Revision: D51029740

fbshipit-source-id: 177e3f6e6b0ab7e986b1147952cd5e2f59d4b1fc
  • Loading branch information
r-barnes authored and facebook-github-bot committed Nov 6, 2023
1 parent b61ae74 commit 002d72b
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion include/fbgemm/FbgemmFP16.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ extern template void cblas_gemm_compute<float16>(
int thread_id,
int num_threads);

}; // namespace fbgemm
} // namespace fbgemm
2 changes: 1 addition & 1 deletion src/DirectConv.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ CodeCache<
typename DirectConvCodeGenBase<TA, TB, TC, accT>::jit_micro_kernel_fp_convT>
DirectConvCodeGenBase<TA, TB, TC, accT>::codeCacheT_;

}; // namespace fbgemm
} // namespace fbgemm
2 changes: 1 addition & 1 deletion test/EmbeddingSpMDM8BitTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Fused8BitRowwiseEmbeddingLookupTest
EmbeddingSpMDMWeightChoice,
EmbeddingSpMDMCornerCase,
EmbeddingSpMDMOutputDtypeChoice>> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/EmbeddingSpMDMNBitTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class FusedNBitRowwiseEmbeddingLookupTest : public testing::TestWithParam<tuple<
EmbeddingSpMDMWeightChoice,
EmbeddingSpMDMCornerCase,
EmbeddingSpMDMDtypeChoice>> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/EmbeddingSpMDMTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class rowwiseSparseEmbeddingSpMDMTest

class IndexRemapTest
: public testing::TestWithParam<tuple<int, int, int, bool, bool>> {};
}; // namespace
} // namespace

vector<int> prefetch_distances = {0, 16, 1000000};

Expand Down
2 changes: 1 addition & 1 deletion test/EmbeddingSpMDMTestUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ int CreateMappingTableForRowWiseSparsity(
int num_rows,
float sparsity);

}; // namespace fbgemm
} // namespace fbgemm
2 changes: 1 addition & 1 deletion test/Float16ConvertTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ using namespace fbgemm;

namespace {
class FBGemmFloat16Test : public testing::TestWithParam<bool> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/GConvTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class fbgemmGConvAcc32WithQuantGranularityTest
bool,
bool>> {};
class fbgemmGConvPackTest : public testing::TestWithParam<matrix_op_t> {};
}; // namespace
} // namespace

// INSTANTIATE_TEST_CASE_P(
// InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/Im2ColFusedRequantizeTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ vector<QuantizationGranularity> qGranularityVals{
namespace {
class fbgemmIm2colTest
: public testing::TestWithParam<tuple<QuantizationGranularity, bool>> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/PackedRequantizeAcc16Test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class fbgemmu8s8acc16Test
: public testing::TestWithParam<tuple<matrix_op_t, matrix_op_t, bool>> {};
class fbgemmPackUnpackAcc16Test
: public testing::TestWithParam<tuple<matrix_op_t, bool>> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/PackedRequantizeTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class fbgemmu8s8acc32Test
: public testing::TestWithParam<tuple<matrix_op_t, matrix_op_t, bool>> {};
class fbgemmPackUnpackAcc32Test
: public testing::TestWithParam<tuple<matrix_op_t, bool>> {};
}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/RequantizeOnlyTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class FloatRequantizeTest
: public testing::TestWithParam<
tuple<int, int, bool, QuantizationGranularity>> {};

}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/RowWiseSparseAdagradFusedTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class RowWiseSparseAdagradFusedTest : public testing::TestWithParam<tuple<
bool,
EmbeddingSpMDMCornerCase,
bool>> {};
}; // namespace
} // namespace

constexpr float DEFAULT_TOL = 1.0e-6;

Expand Down
2 changes: 1 addition & 1 deletion test/SparseAdagradTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ vector<int> prefetch_distances{0, 16, 1000000};
namespace {
class SparseAdagradTest
: public testing::TestWithParam<tuple<bool, int, bool, bool, bool>> {};
}; // namespace
} // namespace

constexpr float DEFAULT_TOL = 1.0e-6;

Expand Down
2 changes: 1 addition & 1 deletion test/TransposedRequantizeTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RequantizeTest
: public testing::TestWithParam<
tuple<int, int, bool, bool, QuantizationGranularity>> {};

}; // namespace
} // namespace

INSTANTIATE_TEST_CASE_P(
InstantiationName,
Expand Down
2 changes: 1 addition & 1 deletion test/UniConvTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class UniConvQGranTest
: public testing::TestWithParam<
tuple<QuantizationGranularity, bool, bool, bool, bool>> {};

}; // namespace
} // namespace

// Combine only allows at most 10 generators.
INSTANTIATE_TEST_CASE_P(
Expand Down

0 comments on commit 002d72b

Please sign in to comment.