structured kernels - error check when structured_delegate is not marked structured (#52227)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52227
Test Plan: Imported from OSS
Reviewed By: bhosmer
Differential Revision: D26431105
Pulled By: bdhirsh
fbshipit-source-id: 82e8c6eb5eee6f9cdb39637ecfee84ab5bb2cabe