[PTen] Add register_ctx_kernel marco and move scale kernel (#38121)
* add register_ctx_kernel and move scale kernel * polish details by reviewer comment * fix xpu compile failed * fix cmake error
Showing
想要评论请 注册 或 登录
* add register_ctx_kernel and move scale kernel * polish details by reviewer comment * fix xpu compile failed * fix cmake error