Skip to content

Commit 1573580

Browse files
committed
small patch
1 parent 7871e30 commit 1573580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/tasks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end
9494
function create_julia_task_impl(rt, lib, task_obj, backend_flag::Cint)
9595
# returns an Legate AutoTask object ptr
9696
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)
97+
task = LegateTask(impl_ptr, task_obj.fun)
9898
task.task_id = Threads.atomic_add!(NEXT_TASK_ID, UInt32(1))
9999
# Prepend internal task_id as scalar 0 on cpp Legate side
100100
LegateInternal.add_scalar(task.impl, Scalar(UInt32(task.task_id)).impl)

0 commit comments

Comments
 (0)