-
Notifications
You must be signed in to change notification settings - Fork 230
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
REPL display happens in different task, breaking synchronization #831
Comments
Can't reproduce. Could you check if the correct |
Waiting doesn't seem to do anything- even checking after a full minute shows the same garbage. On the other hand, the results look correct after calling device_synchronize(). |
Well, that's interesting, and a little disconcerting. Could you An alternative to debugging is to trace your application under nsight-systems (where we can similarly see the streams being used), but that requires some set-up on your side. |
Sigh, this seems like a Windows issue:
Somehow we're synchronizing a different stream? |
Oh no julia> struct Foo
task::Task
end
julia> Base.show(io::IO, ::MIME"text/plain", foo::Foo) =
println(io, "Foo was constructed with task $(foo.task), but display happens in task $(current_task())")
julia> foo = Foo(current_task())
Foo was constructed with task Task @0x00000000191d0010, but display happens in task Task @0x00000000191d36c0 |
Confirmed that #837 fixed the issue. Thank you! |
Describe the bug
Just lots of what looks like undefined behavior in conversions.
To reproduce
This is on CUDA 3.01, though I also tried master. 2.6.2 works fine.
Version info
Details on CUDA:
The text was updated successfully, but these errors were encountered: