Snitch Runtime
Loading...
Searching...
No Matches
types.h
1// Copyright 2024 ETH Zurich and University of Bologna.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5typedef enum { FP64 = 8, FP32 = 4, FP16 = 2, FP8 = 1 } precision_t;
6
7typedef float v2f32 __attribute__((vector_size(8)));
8typedef __fp16 v4f16 __attribute__((vector_size(8)));
9typedef char v8f8 __attribute__((vector_size(8)));