Reset in memory cache capacity to 10000 instead of infinite (#14290)
This commit is contained in:
parent
3eac2cd613
commit
ddfc7b0ecf
@ -277,8 +277,7 @@ private:
|
|||||||
// Move from cldnn::program to cldnn::network for multi-threads issue.
|
// Move from cldnn::program to cldnn::network for multi-threads issue.
|
||||||
std::unique_ptr<ImplementationsCache> _impls_cache;
|
std::unique_ptr<ImplementationsCache> _impls_cache;
|
||||||
std::unique_ptr<KernelsCache> _in_mem_kernels_cache;
|
std::unique_ptr<KernelsCache> _in_mem_kernels_cache;
|
||||||
// TODO: initial version use unlimited caches. Need to adjust it once dynamic flow works on wide set of models.
|
const size_t _impls_cache_capacity = 10000;
|
||||||
const size_t _impls_cache_capacity = 0;
|
const size_t _in_mem_kernels_cache_capacity = 10000;
|
||||||
const size_t _in_mem_kernels_cache_capacity = 0;
|
|
||||||
};
|
};
|
||||||
} // namespace cldnn
|
} // namespace cldnn
|
||||||
|
Loading…
Reference in New Issue
Block a user