8000 commits for 0.9x rc2 by bratpiorka · Pull Request #652 · oneapi-src/unified-memory-framework · GitHub
[go: up one dir, main page]

Skip to content

commits for 0.9x rc2 #652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jul 30, 2024
Merged

Conversation

bratpiorka
Copy link
Contributor
@bratpiorka bratpiorka commented Jul 30, 2024

szadam and others added 13 commits July 30, 2024 10:55
It add utils_annotate_memory_defined() (which does unpoison on memory region)
after all mmap().
This should be unnecessary change but pairs of mmap/munmap do not reset
asan's user-poisoning flags, leading to invalid error reports.
This bug is describe here - 81619: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81619
Fix the warnings:

umf\build\src\libumf.rc(12): warning RC4005: 'UMF_VERSION' : redefinition
umf\build\src\proxy_lib\proxy_lib.rc(12): warning RC4005: 'UMF_VERSION' : redefinition

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Add lock for updating file size in OS memory provider,
because umfMemoryProviderAlloc() has to be MT-safe.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
use full path, to omit potential conflicts in names with other modules,
e.g. in other projects, which can use the same module name.
ASan throws an error whenever the memory poison is called for the memory allocated on GPU:
"AddressSanitizer: CHECK failed: asan_mapping.h:359 "((AddrIsInMem(p))) != (0)" (0x0, 0x0)".

This commit disables poisoning.
The poison memory macro definition is always defined, so an #ifdef check
is insufficient.
Co-authored-by: Krzysztof Filipek <krzysztof.filipek@intel.com>
@bratpiorka bratpiorka marked this pull request as ready for review July 30, 2024 10:38
@bratpiorka bratpiorka requested a review from a team as a code owner July 30, 2024 10:38
ldorau

This comment was marked as resolved.

igchor and others added 3 commits July 30, 2024 13:07
to fix:

"ld.lld: error: version script assignment of 'UMF_1.0' to symbol
'umfLevelZeroMemoryProviderOps' failed: symbol not defined"

when using lld linker
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@bratpiorka bratpiorka merged commit 4133278 into oneapi-src:v0.9.x Jul 30, 2024
53 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants
0