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
13
#include <
sycl/detail/defines_elementary.hpp
>
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
defines_elementary.hpp
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type
dpas_argument_type
Describes the element types in the input matrices.
Definition:
common.hpp:22
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::u8
@ u8
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::fp16
@ fp16
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::u2
@ u2
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::s8
@ s8
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::Invalid
@ Invalid
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::u4
@ u4
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::s4
@ s4
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::__SYCL_DEPRECATED
@ __SYCL_DEPRECATED
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::tf32
@ tf32
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::s2
@ s2
sycl::_V1::ext::intel::esimd::xmx::dpas_argument_type::bf16
@ bf16
sycl
Definition:
access.hpp:18
include
sycl
ext
intel
esimd
xmx
common.hpp
Generated by
1.9.1