Skip to content

Disable LLVM backend when the FMA3 instruction set is unavailable#60

Merged
njroussel merged 1 commit intomasterfrom
dr_46
May 2, 2023
Merged

Disable LLVM backend when the FMA3 instruction set is unavailable#60
njroussel merged 1 commit intomasterfrom
dr_46

Conversation

@njroussel
Copy link
Member

This PR is a follow-up to #59.

When the FMA3 instruction set is not supported on the target CPU, the JIT will now gracefully shutdown with a warning message.

Correctly emulating the instruction is difficult and bumping the CPU architecture requirement is too-strict as some users might only use the CUDA backend.

(Fixes mitsuba-renderer/drjit#46).

@njroussel
Copy link
Member Author

@lnuic ping for visibility

You can keep using your workaround/emulation locally - it's simply not something we want to support/maintain globally 🙁

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.

Compiler intrinsic not supported

1 participant