Skip to content

No diagnostic for checking reqd_work_group_size and max_global_work_dim attributes when merging  #5731

Closed
@smanna12

Description

@smanna12

// FIXME: We do not have support yet for checking
// reqd_work_group_size and max_global_work_dim
// attributes when merging, so the test compiles without
// any diagnostic when it shouldn't.
struct TRIFuncObjBad1 {
[[sycl::reqd_work_group_size(4, 4, 4)]] void
operator()() const;
};
[[intel::max_global_work_dim(0)]]
void TRIFuncObjBad1::operator()() const {}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions