Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM; just one thing to fix. Feel free to land afterwards!
mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp | ||
---|---|---|
95 | Don't think OpenCL supports Input/Output; we should drop them. |
Comment Actions
Actually there is one more issue. I'll land once that's fixed.
mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp | ||
---|---|---|
95 | Actually more to fix here: Uniform needs Shader capability; so it's not available for OpenCL. You might want to move UniformConstant here and map it to 4. |
Don't think OpenCL supports Input/Output; we should drop them.