This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Supports optional program scope global variables in C++ for OpenCL 2021
ClosedPublic

Authored by Topotuna on Sep 6 2021, 1:18 AM.

Details

Summary

Adds support for macro __opencl_c_program_scope_global_variables
in C++ for OpenCL 2021 enabling a respective optional core feature
from OpenCL 3.0.

This change aims to achieve compatibility between C++ for OpenCL
2021 and OpenCL 3.0.

Diff Detail

Event Timeline

Topotuna created this revision.Sep 6 2021, 1:18 AM
Topotuna requested review of this revision.Sep 6 2021, 1:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2021, 1:18 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Anastasia accepted this revision.Sep 6 2021, 3:05 AM

LGTM! Thanks

This revision is now accepted and ready to land.Sep 6 2021, 3:05 AM
This revision was landed with ongoing or failed builds.Sep 16 2021, 4:48 AM
This revision was automatically updated to reflect the committed changes.