Fix coverity1148326 (#4131)
authorchunseoklee <chunseoklee@naver.com>
Tue, 8 Sep 2020 11:05:02 +0000 (20:05 +0900)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 11:05:02 +0000 (20:05 +0900)
commit8e050c9d26e77f5f87fcfa50fa90019e4e287a61
tree28fcff5e2e094ff4bce73396a15a1e2cd5f2cd3c
parent95924368a3772ae7d79a4236ce600528d26002e4
Fix coverity1148326 (#4131)

Fix coverity defect : Integer overflowed argument

```
6. overflow_sink: Overflowed or truncated value (or a value computed from an overflowed or truncated value) num_of_interm_tensors - 1U used as critical argument to function. [show details]
    _interm_tensors[num_of_interm_tensors - 1].allocator()->allocate();
```

ONE-DCO-1.0-Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
compute/ARMComputeEx/src/runtime/CL/functions/CLReduceOperation.cpp