We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7871e30 commit 1573580Copy full SHA for 1573580
1 file changed
src/api/tasks.jl
@@ -94,7 +94,7 @@ end
94
function create_julia_task_impl(rt, lib, task_obj, backend_flag::Cint)
95
# returns an Legate AutoTask object ptr
96
impl_ptr = ccall((:legate_create_julia_task_wrapper, Legate.WRAPPER_LIB_PATH), Ptr{Cvoid}, (Ptr{Cvoid}, Ptr{Cvoid}, Cint), rt.cpp_object, lib.cpp_object, backend_flag)
97
- task = LegateTask(CxxWrap.CxxPtr{LegateInternal.AutoTask}(impl_ptr), task_obj.fun)
+ task = LegateTask(impl_ptr, task_obj.fun)
98
task.task_id = Threads.atomic_add!(NEXT_TASK_ID, UInt32(1))
99
# Prepend internal task_id as scalar 0 on cpp Legate side
100
LegateInternal.add_scalar(task.impl, Scalar(UInt32(task.task_id)).impl)
0 commit comments