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
9 // Intel(R) Xe Matrix eXtensions (Intel(R) XMX).
10 //===----------------------------------------------------------------------===//
11 
12 #pragma once
13 
15 
16 namespace sycl {
17 inline namespace _V1 {
18 namespace ext::intel::esimd::xmx {
19 
23 enum class dpas_argument_type {
24  Invalid = 0,
25  u1 __SYCL_DEPRECATED("u1 is reserved/unsupported") = 1, // unsigned 1 bit
26  s1 __SYCL_DEPRECATED("s1 is reserved/unsupported") = 2, // signed 1 bit
27  u2 = 3, // unsigned 2 bits
28  s2 = 4, // signed 2 bits
29  u4 = 5, // unsigned 4 bits
30  s4 = 6, // signed 4 bits
31  u8 = 7, // unsigned 8 bits
32  s8 = 8, // signed 8 bits
33  bf16 = 9, // bfloat 16
34  fp16 = 10, // half float
35  tf32 = 12, // tensorfloat 32
36 };
37 
38 } // namespace ext::intel::esimd::xmx
39 } // namespace _V1
40 } // namespace sycl
dpas_argument_type
Describes the element types in the input matrices.
Definition: common.hpp:23
Definition: access.hpp:18