summaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect/GPU/Transforms/SPIRVAttachTarget.cpp
AgeCommit message (Collapse)Author
2024-06-24[mlir] Use llvm::unique (NFC) (#96415)Kazu Hirata
2023-12-12[mlir][GPU] Apply ClangTidy fixesAdrian Kuegel
Use const reference in loops if possible.
2023-11-05[mlir][gpu] Clean GPU `Passes.h` from external SPIRV includes (#71331)Fabian Mora
Removes the `SPIRVAttributes.h` header from `GPU/Transforms/Passes.h`
2023-11-05[mlir][spirv] Implement gpu::TargetAttrInterface (#69949)Sang Ik Lee
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.