Operator::Run should take `DeviceContext*` since it could change `DeviceContext`
Created by: reyoung
- In first-time invoking
XXXHandle
,DeviceContext
will create that handle lazily. So, usingDeviceContext
could change itself, even justGetXXXHandle
. - Handle Creation is time-consuming, so lazy initialization is better than initializing them in the constructor.
So Operator::Run
should take a DeviceContext*
, not const DeviceContext&
.