Skip to content

Conversation

@glou-nes
Copy link
Contributor

@glou-nes glou-nes commented Oct 15, 2025

Automatic Control Flow handling. Support different kinds of If/For to pass Polybench testsuite.
Modify Julia Middle-End (type inference and optimizer) to detect and apply control flow handling.

Use GPUCompiler Interpreter with a custom ORC JIT to bypass OpaqueClosure.
WIP integration with Reactant, missing mostly ways to control these analysis (type inference can be heavy because of inference reset). Missing a lot of comments / cleanup / tests integration.

Missing part (mostly not needed for Polybench):

  • mutation in if
  • type promotion
  • while loops
  • loops promotion because of mutation with A dynamic (f(A) = for i in 1:64 A[i] = Traced end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant