Skip to content

No diagnostic for checking max_work_group_size and max_global_work_dim attributes when merging #5449

Closed
@smanna12

Description

@smanna12

// We are checking for
// max_work_group_size and max_global_work_dim
// attributes when merging, so the test compiles without
// any diagnostic when it shouldn't.
struct TRIFuncObjBad {
[[intel::max_work_group_size(4, 4, 4)]] void
operator()() const;
};

[[intel::max_global_work_dim(0)]]
void TRIFuncObjBad::operator()() const {}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions