Skip to content

DPC++ Feature Testing #1825

Closed
Closed
@ax3l

Description

@ax3l

Hi,

it would be great for us if DPC++ and general SYCL extension features can be detected via macro and/or other feature tests in codes.

Currently, out of the list in here https://spec.oneapi.com/versions/latest/elements/dpcpp/source/index.html it seems that only SYCL_INTEL_unnamed_kernel_lambda has a feature test macro (__SYCL_INTEL_UNNAMED_LAMBDA__), but I might be missing something.

This would help us downstream developers to test proposed SYCL features with simple fallback paths for various SYCL compilers.

Refs.:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions