| 680 | } |
| 681 | |
| 682 | void matadd(unsigned long int eid, float* input1,float* input2, int N,int C,float* output){ |
| 683 | sgx_status_t ret = ecall_matadd(eid,input1,input2,N,C,output); |
| 684 | if (ret != SGX_SUCCESS) { |
| 685 | print_error_message(ret); |
| 686 | throw ret; |
| 687 | } |
| 688 | } |
| 689 | void matadd_grad(unsigned long int eid, float* input1,float* input2, float* grad,int N,int C,float* output1,float* output2){ |
| 690 | sgx_status_t ret = ecall_matadd_grad(eid,input1,input2,grad,N,C,output1,output2); |
| 691 | if (ret != SGX_SUCCESS) { |
nothing calls this directly
no test coverage detected