llvm-project
3f37b006 - [CIR][OpenCL] Add kernel execution metadata attribute

Commit
7 hours ago
[CIR][OpenCL] Add kernel execution metadata attribute Represent `reqd_work_group_size`, `work_group_size_hint`, and `vec_type_hint` as a CIR function attribute. Store work-group dimensions as three unsigned 32-bit values encoded in i32 arrays, and require them to be all zero or all nonzero. Restrict vector type hints to CIR integer and floating-point scalars or fixed vectors of those types. Preserve integer signedness in the hinted CIR type so LLVM lowering can derive its metadata flag without a redundant field. Assisted-by: Codex / GPT-6
Author
Committer
Parents
Loading