Skip to content
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

UCM/BISTRO/TEST: Fix support for cuda memory hooks - v1.11.x #7209

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Aug 9, 2021

Why

Backporting #7204 as it fixes a critical issue with Cuda memory hooks with 11.3/4

Fixes #7210

When a hooked function starts with instruction that refers global data
(for example, "cmp $imm32, $disp32(%rip)") - we need to modify the
instruction so it could be executed from is new location and still
access the same global variable.

Change Cuda hooks configuration so it can also support "bistro hooks
without fallback to reloc" and test this mode in CI.
@yosefe yosefe changed the title UCM/BISTRO/TEST: Fix support for cuda memory hooks UCM/BISTRO/TEST: Fix support for cuda memory hooks - v1.11.x Aug 9, 2021
@yosefe yosefe added this to the v1.11.1 milestone Aug 9, 2021
@pentschev
Copy link
Contributor

Thanks @yosefe for the quick fix, the tests I've seen failing before pass with changes here. I'm going to run also the extended tests and report if I see any further issues.

@yosefe yosefe merged commit 064e6da into openucx:v1.11.x Aug 9, 2021
@yosefe yosefe deleted the topic/ucm-bistro-test-fix-support-for-cuda-v1.11.x branch August 9, 2021 19:04
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.

4 participants