Fix unused lambda capture warnings (#18662)
authorJunjie Bai <bai@in.tum.de>
Mon, 1 Apr 2019 05:26:27 +0000 (22:26 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 1 Apr 2019 05:35:58 +0000 (22:35 -0700)
commit44b5891121354e3e7f05b8f9c90b7d58eb6b4aab
treed3ef0e1336e4487bae5a93f5a16870c1fbc50524
parent505d50ea907973ce471d3c2f0b7406b08f570ee5
Fix unused lambda capture warnings (#18662)

Summary:
```
aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp:109:104: warning: lambda capture 'combs' is not used [-Wunused-lambda-capture]
    parallel_for(0, combs, internal::GRAIN_SIZE / (16 * m), [p, self_start, self_end, n, m, res_start, combs](int64_t k, int64_t end) {
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18662

Differential Revision: D14699379

Pulled By: bddppq

fbshipit-source-id: 5062d4327bb5f7b485c2ffa30c98e10576416f03
aten/src/ATen/native/cpu/DistanceOpsKernel.cpp