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