summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSang Ik Lee <sang.ik.lee@intel.com>2023-11-05 08:11:53 -0800
committerGitHub <noreply@github.com>2023-11-05 08:11:53 -0800
commit2dace0452107a43ed030f1156d52282dd6495de2 (patch)
tree1ab10ecc9b59044ebf59c47a8f4f9f72475ab3e8 /clang/lib/CodeGen/CodeGenModule.cpp
parenta54545ba6514802178cf7cf1c1dd9f7efbf3cde7 (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