[all-commits] [llvm/llvm-project] d2a559: [mlir][spirv] Add OpExtension "SPV_INTEL_bfloat16_...

Md Abdullah Shahneous Bari via All-commits all-commits at lists.llvm.org
Fri Mar 31 14:12:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2a559ffc0dc61b9d7426064bd5076b66d2f96d6
      https://github.com/llvm/llvm-project/commit/d2a559ffc0dc61b9d7426064bd5076b66d2f96d6
  Author: Md Abdullah Shahneous Bari <md.abdullah.shahneous.bari at intel.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    A mlir/include/mlir/Dialect/SPIRV/IR/SPIRVIntelExtOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    A mlir/test/Dialect/SPIRV/IR/intel-ext-ops.mlir
    A mlir/test/Target/SPIRV/intel-ext-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Add OpExtension "SPV_INTEL_bfloat16_conversion"

Add Intel-specific "SPV_INTEL_bfloat16_conversion" extension and
capability (Bfloat16ConversionINTEL), and
two ops (OpConvertFToBF16INTEL, OpConvertBF16ToFINTEL)
that are introduced by this extension.
These ops allow BF16 to Float conversion and vice-versa.

Reference Specification:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/INTEL/SPV_INTEL_bfloat16_conversion.asciidoc

Reviewed By: antiagainst

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




More information about the All-commits mailing list