diff options
| author | Sang Ik Lee <sang.ik.lee@intel.com> | 2023-11-05 08:11:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-05 08:11:53 -0800 |
| commit | 2dace0452107a43ed030f1156d52282dd6495de2 (patch) | |
| tree | 1ab10ecc9b59044ebf59c47a8f4f9f72475ab3e8 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | a54545ba6514802178cf7cf1c1dd9f7efbf3cde7 (diff) | |
[mlir][spirv] Implement gpu::TargetAttrInterface (#69949)
This commit implements gpu::TargetAttrInterface for SPIR-V target
attribute. The plan is to use this to enable GPU compilation pipeline
for OpenCL kernels later.
The changes do not impact Vulkan shaders using milr-vulkan-runner.
New GPU Dialect transform pass spirv-attach-target is implemented for
attaching attribute from CLI.
gpu-module-to-binary pass now works with GPU module that has SPIR-V
module with OpenCL kernel functions inside.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
