"vllm/vscode:/vscode.git/clone" did not exist on "ead94d9383644234fa9f153a950ab8cdc334c588"
swiglu.h 1014 Bytes
Newer Older
PanZezhongQY's avatar
PanZezhongQY committed
1
2
3
4
5
6
7
#ifndef __INFINIOP_SWIGLU_H__
#define __INFINIOP_SWIGLU_H__

#include "../operator.h"

typedef InfiniopDescriptor *infiniopSwiGLUDescriptor_t;

PanZezhong's avatar
PanZezhong committed
8
9
10
11
12
__C __export infiniStatus_t infiniopCreateSwiGLUDescriptor(infiniopHandle_t handle,
                                                           infiniopSwiGLUDescriptor_t *desc_ptr,
                                                           infiniopTensorDescriptor_t c_desc,
                                                           infiniopTensorDescriptor_t a_desc,
                                                           infiniopTensorDescriptor_t b_desc);
PanZezhongQY's avatar
PanZezhongQY committed
13

PanZezhong's avatar
PanZezhong committed
14
15
16
17
18
__C __export infiniStatus_t infiniopSwiGLU(infiniopSwiGLUDescriptor_t desc,
                                           void *c,
                                           void const *a,
                                           void const *b,
                                           void *stream);
PanZezhongQY's avatar
PanZezhongQY committed
19

PanZezhong's avatar
PanZezhong committed
20
__C __export infiniStatus_t infiniopDestroySwiGLUDescriptor(infiniopSwiGLUDescriptor_t desc);
PanZezhongQY's avatar
PanZezhongQY committed
21
22

#endif