DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::ext::oneapi::detail::joint_matrix_mad_impl< T1, T2, M, K, N, LayoutA, LayoutB, LayoutC, typename std::enable_if_t<(LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major)> > Struct Template Reference

#include <sycl/ext/oneapi/matrix/matrix-tensorcore.hpp>

Public Member Functions

sycl::ext::oneapi::experimental::matrix::joint_matrix< T2, sycl::ext::oneapi::experimental::matrix::matrix_use::accumulator, M, N, LayoutC, sycl::sub_groupmad (sycl::ext::oneapi::experimental::matrix::joint_matrix< T1, sycl::ext::oneapi::experimental::matrix::matrix_use::a, M, K, LayoutA, sycl::sub_group > A, sycl::ext::oneapi::experimental::matrix::joint_matrix< T1, sycl::ext::oneapi::experimental::matrix::matrix_use::b, K, N, LayoutB, sycl::sub_group > B, sycl::ext::oneapi::experimental::matrix::joint_matrix< T2, sycl::ext::oneapi::experimental::matrix::matrix_use::accumulator, M, N, LayoutC, sycl::sub_group > C)
 

Detailed Description

template<typename T1, typename T2, std::size_t M, std::size_t K, std::size_t N, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutA, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutB, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutC>
struct cl::sycl::ext::oneapi::detail::joint_matrix_mad_impl< T1, T2, M, K, N, LayoutA, LayoutB, LayoutC, typename std::enable_if_t<(LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major)> >

Definition at line 427 of file matrix-tensorcore.hpp.

Member Function Documentation

◆ mad()

template<typename T1 , typename T2 , std::size_t M, std::size_t K, std::size_t N, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutA, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutB, sycl::ext::oneapi::experimental::matrix::matrix_layout LayoutC>
sycl::ext::oneapi::experimental::matrix::joint_matrix< T2, sycl::ext::oneapi::experimental::matrix::matrix_use::accumulator, M, N, LayoutC, sycl::sub_group> cl::sycl::ext::oneapi::detail::joint_matrix_mad_impl< T1, T2, M, K, N, LayoutA, LayoutB, LayoutC, typename std::enable_if_t<(LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutA==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutB==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major) &&(LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::row_major||LayoutC==sycl::ext::oneapi::experimental::matrix::matrix_layout::col_major)> >::mad ( sycl::ext::oneapi::experimental::matrix::joint_matrix< T1, sycl::ext::oneapi::experimental::matrix::matrix_use::a, M, K, LayoutA, sycl::sub_group A,
sycl::ext::oneapi::experimental::matrix::joint_matrix< T1, sycl::ext::oneapi::experimental::matrix::matrix_use::b, K, N, LayoutB, sycl::sub_group B,
sycl::ext::oneapi::experimental::matrix::joint_matrix< T2, sycl::ext::oneapi::experimental::matrix::matrix_use::accumulator, M, N, LayoutC, sycl::sub_group C 
)
inline

Definition at line 445 of file matrix-tensorcore.hpp.


The documentation for this struct was generated from the following file: