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

Fix multi-GPU test failures #4259

Merged
merged 1 commit into from
Mar 15, 2019
Merged

Fix multi-GPU test failures #4259

merged 1 commit into from
Mar 15, 2019

Conversation

RAMitchell
Copy link
Member

I believe the issue was that calls to ->ConstHostVector() can modify the underlying vector, allocating or de allocating memory. Multiple threads were calling this in parallel resulting in strange memory errors.

@trivialfis I used ordinary gdb to find this as cuda-gdb seems to just crash.

@RAMitchell RAMitchell merged commit 5465b73 into dmlc:master Mar 15, 2019
@trivialfis
Copy link
Member

@RAMitchell Should we forbit calling ExecuteIndexShards inside another ExecuteIndexShards?

I will try to verify the problem is indeed solved and close #4239 later.

@RAMitchell
Copy link
Member Author

It may not be related to #4239. This is a good idea if possible.

@trivialfis
Copy link
Member

This is making me crazy ... My CUDA is once again broken ...

@lock lock bot locked as resolved and limited conversation to collaborators Jun 13, 2019
@RAMitchell RAMitchell deleted the linear branch April 19, 2022 12:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants