Problem in launching kernel on GPU to deal with 0-size tensor


#1

I fail to launch kernel on GPU to deal with 0-size tensor(the shape is (2, 0, 3)). However, Cpu kernel can handle 0-size tensor well. I seems like an undefined behavior.

My environment:
Ubuntu 16.04.6 LTS
CUDA v10.0
Nvidia driver version: 418.40.04