Go to the source code of this file.
Functions | |
| void | recurrent_split_conv_qkv_backward (const float *d_q, const float *d_k, const float *d_v, float *d_packed_qkv, int rows, int q_dim, int k_dim, int v_dim) |
| void | recurrent_split_conv_qkv_forward (const float *packed_qkv, float *q, float *k, float *v, int rows, int q_dim, int k_dim, int v_dim) |
| void | recurrent_split_qkv_backward (const float *d_q, const float *d_k, const float *d_v, float *d_packed_qkv, int rows, int q_dim, int k_dim, int v_dim) |
| void | recurrent_split_qkv_forward (const float *packed_qkv, float *q, float *k, float *v, int rows, int q_dim, int k_dim, int v_dim) |
| void | split_qkv_packed_head_major_forward (const float *packed_qkv, float *q, float *k, float *v, int rows, int q_dim, int k_dim, int v_dim, int num_heads, int num_kv_heads) |
| void recurrent_split_conv_qkv_backward | ( | const float * | d_q, |
| const float * | d_k, | ||
| const float * | d_v, | ||
| float * | d_packed_qkv, | ||
| int | rows, | ||
| int | q_dim, | ||
| int | k_dim, | ||
| int | v_dim | ||
| ) |
Definition at line 108 of file recurrent_split_kernels.c.
References recurrent_split_qkv_backward().
| void recurrent_split_conv_qkv_forward | ( | const float * | packed_qkv, |
| float * | q, | ||
| float * | k, | ||
| float * | v, | ||
| int | rows, | ||
| int | q_dim, | ||
| int | k_dim, | ||
| int | v_dim | ||
| ) |
Definition at line 97 of file recurrent_split_kernels.c.
References recurrent_split_qkv_forward().
Referenced by ck_test_recurrent_split_conv_qkv().
| void recurrent_split_qkv_backward | ( | const float * | d_q, |
| const float * | d_k, | ||
| const float * | d_v, | ||
| float * | d_packed_qkv, | ||
| int | rows, | ||
| int | q_dim, | ||
| int | k_dim, | ||
| int | v_dim | ||
| ) |
Definition at line 77 of file recurrent_split_kernels.c.
Referenced by recurrent_split_conv_qkv_backward().
| void recurrent_split_qkv_forward | ( | const float * | packed_qkv, |
| float * | q, | ||
| float * | k, | ||
| float * | v, | ||
| int | rows, | ||
| int | q_dim, | ||
| int | k_dim, | ||
| int | v_dim | ||
| ) |
Definition at line 5 of file recurrent_split_kernels.c.
Referenced by ck_test_recurrent_split_qkv(), and recurrent_split_conv_qkv_forward().
| void split_qkv_packed_head_major_forward | ( | const float * | packed_qkv, |
| float * | q, | ||
| float * | k, | ||
| float * | v, | ||
| int | rows, | ||
| int | q_dim, | ||
| int | k_dim, | ||
| int | v_dim, | ||
| int | num_heads, | ||
| int | num_kv_heads | ||
| ) |
Definition at line 25 of file recurrent_split_kernels.c.