We had multiple functions to determine the execution mode (SPMD/Generic)
and runtime status (initialized/uninitialized) but that just increased
complexity without a real benefit. Especially with D102307 in mind it
is helpful to reduce the dependence on the ident_t flags.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/deviceRTLs/common/src/support.cu | ||
---|---|---|
47 | Was this loc->reserved etc an optimisation before? The comments suggest deleting the reads in order to fall through to is_spmd_exec_mode would make no behaviour change, but it's hard to see how they could have been faster |
Was this loc->reserved etc an optimisation before? The comments suggest deleting the reads in order to fall through to is_spmd_exec_mode would make no behaviour change, but it's hard to see how they could have been faster