PandA-2024.02
15_thxprlsg.wrapper.c
Go to the documentation of this file.
1 #include "c_backend_api.h"
2 
6 
7 int32_t fused_tanh_exp_nn_relu_sigmoid( void* args, void* arg_type_ids, int32_t num_args);
8 #ifdef BAMBU_PROFILING
9 extern void __builtin_bambu_time_start();
10 extern void __builtin_bambu_time_stop();
11 #endif
12 
13 int32_t fused_activations_wrapper(float* placeholder, float* T_sigmoid)
14 {
15  int32_t res;
16  a0[0].data = placeholder;
17  a1[0].data = T_sigmoid;
18  param[0].v_handle = a0;
19  param[1].v_handle = a1;
20 #ifdef BAMBU_PROFILING
22 #endif
23 
24  res = fused_tanh_exp_nn_relu_sigmoid(param, 0, 0);
25 
26 #ifdef BAMBU_PROFILING
28 #endif
29 
30  return res;
31 }
void __builtin_bambu_time_start()
void * v_handle
Union type of values being passed through API and function calls.
int32_t fused_tanh_exp_nn_relu_sigmoid(void *args, void *arg_type_ids, int32_t num_args)
Definition: 15_thxprlsg.cc:7
TVMArray a0[1]
void * data
The opaque data pointer points to the allocated data. This will be CUDA device pointer or cl_mem hand...
Definition: dlpack.h:131
TVMValue param[2]
TVMArray a1[1]
Plain C Tensor object, does not manage memory.
Definition: dlpack.h:111
int32_t fused_activations_wrapper(float *placeholder, float *T_sigmoid)
void __builtin_bambu_time_stop()

Generated on Mon Feb 12 2024 13:02:50 for PandA-2024.02 by doxygen 1.8.13