DPC++ Runtime
Runtime libraries for oneAPI DPC++
common.hpp
Go to the documentation of this file.
1 //==-------------- xmx/common.hpp - DPC++ Explicit SIMD API ----------------==//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 // Explicit SIMD API types used in ESIMD Intel Xe Matrix eXtension.
9 //===----------------------------------------------------------------------===//
10 
11 #pragma once
12 
14 
15 namespace sycl {
16 inline namespace _V1 {
17 namespace ext::intel::esimd::xmx {
18 
22 enum class dpas_argument_type {
23  Invalid = 0,
24  u1 __SYCL_DEPRECATED("u1 is reserved/unsupported") = 1, // unsigned 1 bit
25  s1 __SYCL_DEPRECATED("s1 is reserved/unsupported") = 2, // signed 1 bit
26  u2 = 3, // unsigned 2 bits
27  s2 = 4, // signed 2 bits
28  u4 = 5, // unsigned 4 bits
29  s4 = 6, // signed 4 bits
30  u8 = 7, // unsigned 8 bits
31  s8 = 8, // signed 8 bits
32  bf16 = 9, // bfloat 16
33  fp16 = 10, // half float
34  tf32 = 12, // tensorfloat 32
35 };
36 
37 } // namespace ext::intel::esimd::xmx
38 } // namespace _V1
39 } // namespace sycl
dpas_argument_type
Describes the element types in the input matrices.
Definition: common.hpp:22
Definition: access.hpp:18