unified-memory-framework
unified-memory-framework copied to clipboard
add Coarse Memory Provider
Description
This PR adds the Coarse Memory Provider that could be used as a cache for upstream providers (like Level Zero Memory Provider) or handle user-provided buffers e.g. allocated using mmap.
Checklist
- [x] Code compiles without errors locally
- [x] All tests pass locally
- [x] CI workflows execute properly
- [x] CI workflows, not executed per PR (e.g. Nightly), execute properly
- [x] New tests added, especially if they will fail without my changes
- [ ] Added/extended example(s) to cover this functionality
- [ ] Extended the README/documentation
- [x] All newly added source files have a license
- [x] All newly added source files are referenced in CMake files
- [ ] Logger (with debug/info/... messages) is used
This PR is huuuuugeeeee. also it seems there is a lot small random fixes which do not belong to this change.
To make reviewer life easier please:
- Split small fixes to separate commits and PRs. (things like typos, small refactoring etc)
- Try to split this PR to smaller one (i.e Ravl can be added in separate PR with a few tests to prof it's working)
Also having more smaller self-contained commits, helps in case of debuging/bisecting,