remove dynamic initialization warning (#13913) (#13967)
authorjjsjann123 <alex.jann2012@gmail.com>
Fri, 16 Nov 2018 20:59:01 +0000 (12:59 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Nov 2018 21:04:22 +0000 (13:04 -0800)
commit96e5d23bad20be60900e2133d912cdd2190caaa8
treed3d8f633f64d11962976f25ecd2127563ec8644f
parent5b1b8682a303379e8f52c282399540750e0b8200
remove dynamic initialization warning (#13913) (#13967)

Summary:
removed assignment in default constructor.
removed static shared memory and used dynamic shared memory.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13967

Differential Revision: D13089996

Pulled By: soumith

fbshipit-source-id: 2a218b909c849bed39636b45a02d10ebc279a0b0
aten/src/THC/THCTensorMathReduce.cuh
aten/src/THC/generic/THCTensorMathReduce.cu