BATCH_GEMM arguments. More...
#include <batch_gemm.hpp>
Public Member Functions | |
| arguments_t ()=default | |
| Constructs arguments with default method. | |
| arguments_t (uint32_t batch_size_, uint32_t matrix_m_, uint32_t matrix_k_, uint32_t matrix_n_, matA_base_t matA_base_, uint32_t matA_ld_, matB_base_t matB_base_, uint32_t matB_ld_, matC_base_t matC_base_, uint32_t matC_ld_, epilogue_args_t epilogue_args_={}) | |
| Constructs arguments with initialization list. | |
| arguments_t (const arguments_t &args) | |
| arguments_t & | operator= (const arguments_t &args) |
Public Attributes | |
| uint32_t | batch_size |
| Is the number of total batches. | |
| uint32_t | matrix_m |
| Is the size of the m dimension of the matrix multiplication (m x k x n). | |
| uint32_t | matrix_k |
| Is the size of the k dimension of the matrix multiplication (m x k x n). | |
| uint32_t | matrix_n |
| Is the size of the n dimension of the matrix multiplication (m x k x n). | |
| uint32_t | matA_ld |
| Is the leading dimension (pitch) size of the matrix A in memory. | |
| uint32_t | matB_ld |
| Is the leading dimension (pitch) size of the matrix B in memory. | |
| uint32_t | matC_ld |
| Is the leading dimension (pitch) size of the matrix C in memory. | |
| matA_base_t | matA_base |
| Is the base address of matrix A. | |
| matB_base_t | matB_base |
| Is the base address of matrix B. | |
| matC_base_t | matC_base |
| Is the base address of matrix C. | |
| epilogue_args_t | epilogue_args |
| Is the epilogue arguments. | |
Static Public Attributes | |
| static constexpr bool | host_callable = true |
| Set for device copyable. | |
BATCH_GEMM arguments.
This is the interface for users to pass the application-related runtime variables.
|
inlinedefault |
Constructs arguments with default method.
|
inline |
Constructs arguments with initialization list.
| batch_size_ | Is the number of total batches. |
| matrix_m_ | Is the size of the m dimension of the matrix multiplication (m x k x n). |
| matrix_k_ | Is the size of the k dimension of the matrix multiplication (m x k x n). |
| matrix_n_ | Is the size of the n dimension of the matrix multiplication (m x k x n). |
| matA_base_ | Is the base address of matrix A. |
| matA_ld_ | Is the leading dimension (pitch) size of the matrix A in memory. |
| matB_base_ | Is the base address of matrix B. |
| matB_ld_ | Is the leading dimension (pitch) size of the matrix B in memory. |
| matC_base_ | Is the base address of matrix C. |
| matC_ld_ | Is the leading dimension (pitch) size of the matrix C in memory. |
| epilogue_args_ | Is the epilogue arguments. |
|
inline |
|
inline |
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::batch_size |
Is the number of total batches.
| epilogue_args_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::epilogue_args |
Is the epilogue arguments.
|
staticconstexpr |
Set for device copyable.
| matA_base_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matA_base |
Is the base address of matrix A.
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matA_ld |
Is the leading dimension (pitch) size of the matrix A in memory.
| matB_base_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matB_base |
Is the base address of matrix B.
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matB_ld |
Is the leading dimension (pitch) size of the matrix B in memory.
| matC_base_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matC_base |
Is the base address of matrix C.
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matC_ld |
Is the leading dimension (pitch) size of the matrix C in memory.
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matrix_k |
Is the size of the k dimension of the matrix multiplication (m x k x n).
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matrix_m |
Is the size of the m dimension of the matrix multiplication (m x k x n).
| uint32_t gpu::xetla::kernel::batch_gemm_t< gemm_t_, epilogue_t_, arch_tag_ >::arguments_t::matrix_n |
Is the size of the n dimension of the matrix multiplication (m x k x n).