[all-commits] [llvm/llvm-project] 9c3a73: [mlir][spirv] Support OpenCL when lowering memref ...
Stanley Winata via All-commits
all-commits at lists.llvm.org
Mon Sep 19 10:24:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c3a73a579ca71529fa11dc0e5acee22500e4d10
https://github.com/llvm/llvm-project/commit/9c3a73a579ca71529fa11dc0e5acee22500e4d10
Author: Stanley Winata <stanley at nod-labs.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h
M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
M mlir/test/Conversion/GPUToSPIRV/module-opencl.mlir
M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Support OpenCL when lowering memref load/store
-Add awareness to Kernel vs Shader capability for memref to SPIR-V
lowering.
-Add lowering using spv.PtrAccessChain for Kernel capability.
-Enable lowering from scalar pointee types for kernel capabilities.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D132714
More information about the All-commits
mailing list