[quant][core][gpu][improvement] Made exception throwing message clearer in Quantized Cudnn Conv2d, Linear, and Add ops (#76102)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76102
Summary plan:
Previous exception throwing messages for these 3 ops did not
differentiate amongst each other. This PR addresses that issue by
including the name of the op in the string thrown by the exception for
debugging purposes.
Test Plan:
N/A as this only changes what's written to stdout when an exception is
thrown in one of the 3 ops
Reviewed By: jerryzh168
Differential Revision: D35779082
Pulled By: dzdang
fbshipit-source-id: 4e9098995ca2b1dcd18fe294281f335740a63ec9
(cherry picked from commit 503524f3ae569f59a3b1149f68454b3b51658e3d)