mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix unused variable 'kEps' (#125870)
Summary: > fbcode/caffe2/caffe2/utils/math_gpu_test.cc:227:17: error: unused variable 'kEps' [-Werror,-Wunused-const-variable] See https://www.internalfb.com/intern/test/844425000398735?ref_report_id=0 Created from CodeHub with https://fburl.com/edit-in-codehub Test Plan: Sandcastle run Reviewed By: r-barnes Differential Revision: D56731004 Pull Request resolved: https://github.com/pytorch/pytorch/pull/125870 Approved by: https://github.com/seemethere, https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
477612c0f6
commit
350a3ed82f
@ -224,8 +224,6 @@ TEST(MathUtilGPUTest, testCopyVector) {
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr float kEps = 1e-5;
|
|
||||||
|
|
||||||
class GemmBatchedGPUTest
|
class GemmBatchedGPUTest
|
||||||
: public testing::TestWithParam<testing::tuple<bool, bool>> {
|
: public testing::TestWithParam<testing::tuple<bool, bool>> {
|
||||||
protected:
|
protected:
|
||||||
|
Reference in New Issue
Block a user