Page MenuHomePhabricator

[SYCL] Assume SYCL device functions are convergent

Authored by bader on Sep 8 2020, 5:54 AM.



SYCL device compiler (similar to other SPMD compilers) assumes that
functions are convergent by default to avoid invalid transformations.
This attribute can be removed if compiler can prove that function does
not have convergent operations.

Diff Detail

Event Timeline

bader created this revision.Sep 8 2020, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2020, 5:54 AM
bader requested review of this revision.Sep 8 2020, 5:54 AM

Be lazy

Naghasan accepted this revision.Sep 29 2020, 1:40 AM

Change make sense to me (same rational as CUDA or OpenCL).

This revision is now accepted and ready to land.Sep 29 2020, 1:40 AM
bader updated this revision to Diff 294931.Sep 29 2020, 4:31 AM

Applied Ronan's suggestion.

This revision was automatically updated to reflect the committed changes.
bader marked an inline comment as done.