Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

support per-thread default stream #1128

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

rongou
Copy link
Collaborator

@rongou rongou commented Apr 28, 2020

I was trying to get cuDF to use per-thread default stream. It mostly worked, but I was still seeing some stuff happening on the legacy default stream. Finally traced to the default_stream() function here. Making the following change got rid of the default stream activities.

This seems like the right thing to do. If someone is trying to use per-thread default stream through compiler flags, it seems wrong for thrust to use the legacy default stream behind the user's back. There might be additional race conditions the user needs to take care of, but at least the thrust code would be doing what the user tells it to do.

See rapidsai/rmm#354 and rapidsai/cudf#4995.

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