Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm: Initialize builder context and jit engines on demand #2188

Merged
merged 6 commits into from
Nov 8, 2021

Conversation

jvesely
Copy link
Collaborator

@jvesely jvesely commented Nov 8, 2021

Cleanup JIT engines after each test.
This allows each test to select its own preferred floating point precision.

Allow only a single instance of LLVMBuilderContext.
Allow custom construction of LLVMBuilderContext.

Signed-off-by: Jan Vesely <[email protected]>
Other than saving resource, this recreates
JIT specific builtins based on the currently active
LLVMBuilderContext, potentially using different type preferences.

Signed-off-by: Jan Vesely <[email protected]>
@jvesely jvesely added compiler Runtime Compiler CUDA CUDA target for the runtime compiler labels Nov 8, 2021
@github-actions
Copy link

github-actions bot commented Nov 8, 2021

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

1 similar comment
@github-actions
Copy link

github-actions bot commented Nov 8, 2021

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@github-actions
Copy link

github-actions bot commented Nov 8, 2021

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely merged commit 21033d2 into PrincetonUniversity:devel Nov 8, 2021
@jvesely jvesely deleted the flexible-types branch November 8, 2021 02:55
@jvesely jvesely restored the flexible-types branch November 8, 2021 03:22
@jvesely jvesely deleted the flexible-types branch November 9, 2021 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Runtime Compiler CUDA CUDA target for the runtime compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant