From 42229d03fe55c45f0ad2ba68f190f3d68a78ae79 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Thu, 7 Apr 2022 16:54:46 -0700 Subject: Initial work on floating-point type definition Define operations in terms of common floating-point data types. Definitions for the data types are in the introduction. Added a section to describe status of the different profiles. Signed-off-by: Eric Kunze Change-Id: Iac57026806acfb7913f40af61176322fb02b7cc1 --- chapters/ewise_binary.adoc | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'chapters/ewise_binary.adoc') diff --git a/chapters/ewise_binary.adoc b/chapters/ewise_binary.adoc index e25fb8d..27efb44 100644 --- a/chapters/ewise_binary.adoc +++ b/chapters/ewise_binary.adoc @@ -44,7 +44,9 @@ for_each(index in shape) { |Profile|Mode|in_out_t |Any|signed 32|int32_t -|MI, MT|floating-point|float_t +|MI, MT|fp16|fp16_t +|MI, MT|bf16|bf16_t +|MI, MT|fp32|fp32_t |=== ==== ARITHMETIC_RIGHT_SHIFT @@ -483,7 +485,9 @@ for_each(index in shape) { |Profile|Mode|in_out_t |Any|signed 32|int32_t -|MI, MT|floating-point|float_t +|MI, MT|fp16|fp16_t +|MI, MT|bf16|bf16_t +|MI, MT|fp32|fp32_t |=== ==== MINIMUM @@ -521,7 +525,9 @@ for_each(index in shape) { |Profile|Mode|in_out_t |Any|signed 32|int32_t -|MI, MT|floating-point|float_t +|MI, MT|fp16|fp16_t +|MI, MT|bf16|bf16_t +|MI, MT|fp32|fp32_t |=== ==== MUL @@ -571,7 +577,9 @@ for_each(index in shape) { |Any|signed 8|int8_t|int32_t |Any|signed 16|int16_t|int32_t |Any|signed 32|int32_t|int32_t -|MI, MT|floating-point|float_t|float_t +|MI, MT|fp16|fp16_t|fp16_t +|MI, MT|bf16|bf16_t|bf16_t +|MI, MT|fp32|fp32_t|fp32_t |=== ==== POW @@ -608,7 +616,9 @@ for_each(index in shape) { |=== |Profile|Mode|in_out_t -|MI, MT|floating-point|float_t +|MI, MT|fp16|fp16_t +|MI, MT|bf16|bf16_t +|MI, MT|fp32|fp32_t |=== ==== SUB @@ -646,7 +656,9 @@ for_each(index in shape) { |Profile|Mode|in_out_t |Any|signed 32|int32_t -|MI, MT|floating-point|float_t +|MI, MT|fp16|fp16_t +|MI, MT|bf16|bf16_t +|MI, MT|fp32|fp32_t |=== ==== TABLE -- cgit v1.2.1