Open
Description
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?