Provide an interface for flushing the compilation cache in an implementation independent way.
PiperOrigin-RevId: 239533130
This commit is contained in:
parent
17ca6549ba
commit
395d32f274
@ -374,6 +374,11 @@ class StreamExecutorInterface {
|
||||
return absl::nullopt;
|
||||
}
|
||||
|
||||
// Clears the compilation cache from volatile memory. Returns OK if no
|
||||
// compilation cache exists or if clearing the compilation cache is
|
||||
// unsupported. Caches in non-volatile storage are unaffected.
|
||||
virtual port::Status FlushCompilationCache() { return port::Status::OK(); }
|
||||
|
||||
private:
|
||||
SE_DISALLOW_COPY_AND_ASSIGN(StreamExecutorInterface);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user