Skip to content

Commit

Permalink
Bug fix: forgot to keep run_module's lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Oct 28, 2024
1 parent 042e9c9 commit c0ff2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrayjit/lib/cuda_backend.cudajit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ let link_proc ~prior_context ~name ~(params : (string * param_source) list) ~ctx
( context,
Task.Task
{
context_lifetime = context;
context_lifetime = (run_module, context);
description = "launches " ^ name ^ " on " ^ get_name context.stream;
work;
} )
Expand Down

0 comments on commit c0ff2e8

Please sign in to comment.