Skip to content

Commit

Permalink
Restore cache capacity after cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sshlyapn committed Feb 9, 2024
1 parent b49f7ae commit 8275c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/intel_gpu/src/plugin/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Plugin::~Plugin() {
// trigger earlier cache cleanup by setting its capacity to 0.
// Related ticket: 106154.
dnnl::set_primitive_cache_capacity(0);
const int default_cache_capacity = 1024;
dnnl::set_primitive_cache_capacity(default_cache_capacity);
#endif
}

Expand Down

0 comments on commit 8275c73

Please sign in to comment.