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 2d2f94f commit 43b8a4fCopy full SHA for 43b8a4f
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