Make ExecuteContext unowned in ExecuteOptions.
PiperOrigin-RevId: 328150132 Change-Id: If1468b900e95398106fcca29d0263ebb8869731e
This commit is contained in:
parent
484f0e5fd9
commit
ee31098e59
@ -695,7 +695,7 @@ struct ExecuteOptions {
|
|||||||
int32 launch_id = 0;
|
int32 launch_id = 0;
|
||||||
// If non-null, an opaque context passed to an execution that may be used to
|
// If non-null, an opaque context passed to an execution that may be used to
|
||||||
// supply additional arguments to a derived class of PjRtExecutable.
|
// supply additional arguments to a derived class of PjRtExecutable.
|
||||||
std::unique_ptr<ExecuteContext> context;
|
ExecuteContext* context = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Represents a compiled computation that can be executed given handles to
|
// Represents a compiled computation that can be executed given handles to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user