[all-commits] [llvm/llvm-project] 399887: [mlir][spirv] Add resource limits into target envi...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Feb 4 05:35:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 399887c9e43bf1892b553116bc128d5204eb3880
      https://github.com/llvm/llvm-project/commit/399887c9e43bf1892b553116bc128d5204eb3880
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
    M mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
    M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
    M mlir/lib/Dialect/SPIRV/TargetAndABI.cpp
    M mlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
    M mlir/test/Dialect/SPIRV/target-and-abi.mlir
    M mlir/test/Dialect/SPIRV/target-env.mlir

  Log Message:
  -----------
  [mlir][spirv] Add resource limits into target environment

This commit adds two resource limits, max_compute_workgroup_size
and max_compute_workgroup_invocations as resource limits to
the target environment. They are not used at the current moment,
but they will affect the SPIR-V CodeGen. Adding for now to have
a proper target environment modelling.

Differential Revision: https://reviews.llvm.org/D73905




More information about the All-commits mailing list