Tell codegen that SparseCsrCUDA is cuda (#56602)
Summary:
Follow up to https://github.com/pytorch/pytorch/issues/50937, Fixes build failures in https://github.com/pytorch/pytorch/issues/56561
Currently SparseCsrCUDA is included in cpu build and also doesn't get code-generated device guards. This fixed both issues.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56602
Reviewed By: albanD
Differential Revision: D27921001
Pulled By: ezyang
fbshipit-source-id: 2b3b0b66d0a7c5ef96e0817d8852d511dd954ae4