Skip to content

opal/accelerator: Remove function table and dlopen logic #10857

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 3 commits into from
Sep 28, 2022

Conversation

wckzhang
Copy link
Contributor

Instead of dlopening cuda, add direct dependency on libcuda. This also means we can remove the dlopen dependency.

Signed-off-by: William Zhang [email protected]

@wckzhang
Copy link
Contributor Author

Alongside this, I want to add link libcuda against the gpusm, rgpusm, and smcuda components and directly call cuda functions within them.

@bwbarrett
Copy link
Member

Overall, nice job on a big AC change. Couple of minor things and you should be good to go.

@jsquyres
Copy link
Member

bot:aws:retest

@wckzhang
Copy link
Contributor Author

I'm also going to add the code that replaces opal/cuda and remove opal/cuda in this PR

@ompiteam-bot
Copy link

bot:aws:retest

@wckzhang
Copy link
Contributor Author

Real failure when I added the opal_cuda.h header, need to figure out what I did wrong

Instead of dlopening cuda, add direct dependency on libcuda.
This also means we can remove the dlopen dependency.

Signed-off-by: William Zhang <[email protected]>
@wckzhang
Copy link
Contributor Author

Ah I forgot to add the opal_cuda.h file to git, should work now

@bwbarrett
Copy link
Member

bot:aws:retest

Signed-off-by: William Zhang <[email protected]>
@wckzhang wckzhang merged commit b4355c2 into open-mpi:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants