[all-commits] [llvm/llvm-project] 5b0d6b: [MLIR] Add function to create Float16 array attribute
Tanyo Kwok via All-commits
all-commits at lists.llvm.org
Wed Jul 20 14:58:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3
https://github.com/llvm/llvm-project/commit/5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3
Author: Tanyo Kwok <tianyou.gty at alibaba-inc.com>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M mlir/include/mlir-c/BuiltinAttributes.h
M mlir/lib/CAPI/IR/BuiltinAttributes.cpp
M mlir/test/CAPI/ir.c
Log Message:
-----------
[MLIR] Add function to create Float16 array attribute
This patch adds a new function mlirDenseElementsAttrFloat16Get(),
which accepts the shaped type, the number of Float16 values, and a
pointer to an array of Float16 values, each of which is a uint16_t
value.
This commit is repeating https://reviews.llvm.org/D123981 + #761 but for Float16
Differential Revision: https://reviews.llvm.org/D130069
More information about the All-commits
mailing list