Skip to content

Commit c0ff2e8

Browse files
committed
Bug fix: forgot to keep run_module's lifetime
1 parent 042e9c9 commit c0ff2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayjit/lib/cuda_backend.cudajit.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ let link_proc ~prior_context ~name ~(params : (string * param_source) list) ~ctx
461461
( context,
462462
Task.Task
463463
{
464-
context_lifetime = context;
464+
context_lifetime = (run_module, context);
465465
description = "launches " ^ name ^ " on " ^ get_name context.stream;
466466
work;
467467
} )

0 commit comments

Comments
 (0)