Skip to content
Unverified Commit e3d2a7d0 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[libc] Compile the GPU functions with '-fconvergent-functions' (#70229)

Summary:
This patch simply adds the `-fconvergent-functions` flag to the GPU
compilation. This is in relation to the behaviour of SIMT
architectures under divergence. With the flag, we assume every function
is convergent by default and rely on the compiler's divergence analysis
to transform it if possible.

Fixes: https://github.com/llvm/llvm-project/issues/63853
parent 0fc8f0be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment