-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathlogaddexp.h
More file actions
26 lines (19 loc) · 1.32 KB
/
logaddexp.h
File metadata and controls
26 lines (19 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __INFINIOP_LOGADDEXP_API_H__
#define __INFINIOP_LOGADDEXP_API_H__
#include "../operator_descriptor.h"
typedef struct InfiniopDescriptor *infiniopLogAddExpDescriptor_t;
__C __export infiniStatus_t infiniopCreateLogAddExpDescriptor(infiniopHandle_t handle,
infiniopLogAddExpDescriptor_t *desc_ptr,
infiniopTensorDescriptor_t c,
infiniopTensorDescriptor_t a,
infiniopTensorDescriptor_t b);
__C __export infiniStatus_t infiniopGetLogAddExpWorkspaceSize(infiniopLogAddExpDescriptor_t desc, size_t *size);
__C __export infiniStatus_t infiniopLogAddExp(infiniopLogAddExpDescriptor_t desc,
void *workspace,
size_t workspace_size,
void *c,
const void *a,
const void *b,
void *stream);
__C __export infiniStatus_t infiniopDestroyLogAddExpDescriptor(infiniopLogAddExpDescriptor_t desc);
#endif // __INFINIOP_LOGADDEXP_API_H__