[mlir][spirv] Query target environment for mapping memory space
Checks spirv::TargetEnv from op to see if it contains either Kernel or Shader capabilities. If it does, then it will set the memory space mapping accordingly. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134317
Loading
Please sign in to comment