Skip to content

Non-standard RT namespace is exposed in sycl namespace #7133

Closed
@AlexeySachkov

Description

@AlexeySachkov

It looks like the following code:

// For shortness of using PI from the top-level sycl files.
namespace RT = sycl::detail::pi;

Brings RT namespace into sycl namespace - whilst that is not explicitly prohibited by the spec, it should be considered as a bad tone according to discussion in KhronosGroup/SYCL-Docs#137

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions