Commit a20f47d5 authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

Provide a CancellationManager to kernels that run in a GraphRunner.

Some kernels are (for example) constant foldable, but use
`OpKernelContext::cancellation_manager()` internally (typically when
running functions). A recent change made it possible for more kernels
to run the GraphRunner (by providing a FunctionLibraryRuntime to the
OpKernelConstruction), but no CancellationManager was available,
leading to crashes when attempting to run those kernels.

PiperOrigin-RevId: 237253404
parent 13f022a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment