Skip to content

Provide a concrete way for program metadata defines or delete them #441

Open
@omarahmed1111

Description

@omarahmed1111

Program metadata defines are:

/// Program metadata tags recognized by the PI backends. For kernels the tag
/// must appear after the kernel name.
#define __SYCL_PI_PROGRAM_METADATA_TAG_REQD_WORK_GROUP_SIZE                    \
  "@reqd_work_group_size"
#define __SYCL_PI_PROGRAM_METADATA_GLOBAL_ID_MAPPING "@global_id_mapping"

Those defines seem to only be used inside pi_program::set_metadata() in pi_cuda backend. These values seem to also have been used in the compiler side by llvm/tools/sycl-post-link/sycl-post-link.cpp. So, was wandering, Does those defines had plans for other adapters other than cuda (or have any use case in general) and we should provide them in some way in the spec? or should we delete them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerModule, program, or kernel issues.piDPC++ PI requirementspecificationChanges or additions to the specification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions