Where is the gpu implementation of nonzero kernel

Where is the gpu implementation of nonzero kernel, I can’t find it, thanks!

It’s in THC (legacy torch) as nonzero in /aten/src/THC/generic/THCTensorMath.cu.

Best regards

Thomas