Skip to content

[IE CLDNN] Plugin-side kernels caching#2871

Merged
vladimir-paramuzov merged 5 commits intoopenvinotoolkit:masterfrom
vladimir-paramuzov:cache_poc
Nov 5, 2020
Merged

[IE CLDNN] Plugin-side kernels caching#2871
vladimir-paramuzov merged 5 commits intoopenvinotoolkit:masterfrom
vladimir-paramuzov:cache_poc

Conversation

@vladimir-paramuzov
Copy link
Copy Markdown

  • Added plugin key to enable kernels caching and added plugin-side mechanism to do it.

@vladimir-paramuzov vladimir-paramuzov added the category: GPU OpenVINO GPU plugin label Oct 28, 2020
@vladimir-paramuzov vladimir-paramuzov force-pushed the cache_poc branch 3 times, most recently from 4be612f to 5aa41dc Compare October 29, 2020 06:50
@vladimir-paramuzov vladimir-paramuzov marked this pull request as ready for review October 29, 2020 10:07
@vladimir-paramuzov vladimir-paramuzov requested review from a team as code owners October 29, 2020 10:07
@vladimir-paramuzov vladimir-paramuzov requested a review from a team October 29, 2020 10:07
@vladimir-paramuzov vladimir-paramuzov changed the title [WIP] [IE CLDNN] Plugin-side kernels caching POC [IE CLDNN] Plugin-side kernels caching Oct 29, 2020
@JulienMaille
Copy link
Copy Markdown

How is this going to work if we have openCL cl_cache folder mechanism already enabled?

@vladimir-paramuzov
Copy link
Copy Markdown
Author

How is this going to work if we have openCL cl_cache folder mechanism already enabled?

If cl_cache is enabled as well, then:

  • compiled binaries will be dumped twice
  • if a kernel is found in plugin's cache on load stage, then cl_cache is not used for this kernel

@vladimir-paramuzov
Copy link
Copy Markdown
Author

@iefode please have a look at the tests and test utils

Copy link
Copy Markdown
Contributor

@sshlyapn sshlyapn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vladimir-paramuzov vladimir-paramuzov merged commit 6e7db6f into openvinotoolkit:master Nov 5, 2020
@vladimir-paramuzov vladimir-paramuzov deleted the cache_poc branch November 5, 2020 20:44
sdurawa pushed a commit to sdurawa/openvino that referenced this pull request Nov 6, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GPU OpenVINO GPU plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants