We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b70bf3 commit 3638866Copy full SHA for 3638866
src/sch/eager.jl
@@ -134,3 +134,6 @@ function _find_thunk(e::Dagger.DTask)
134
unwrap_weak_checked(EAGER_STATE[].thunk_dict[tid])
135
end
136
137
+Dagger.task_id(t::Dagger.DTask) = lock(EAGER_ID_MAP) do id_map
138
+ id_map[t.uid]
139
+end
0 commit comments