Skip to content

Commit

Permalink
Consider all spawning functions in autotuner (closes #1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 23, 2024
1 parent 6b77fb3 commit b00c608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoTune.ml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ let reduceThreadAnalyses () =
let isThreadCreate (desc: LibraryDesc.t) args =
match desc.special args with
| LibraryDesc.ThreadCreate _ -> true
| _ -> false
| _ -> LibraryDesc.Accesses.find_kind desc.accs Spawn args <> []
in
let hasThreadCreate = hasFunction isThreadCreate in
if not @@ hasThreadCreate then (
Expand Down

0 comments on commit b00c608

Please sign in to comment.