| 822 | } |
| 823 | |
| 824 | void matmul2d(unsigned long int eid,float *input,float* weight,int N,int M,int C,float *output){ |
| 825 | sgx_status_t ret = ecall_matmul(eid,input,weight,N,M,C,output); |
| 826 | if (ret != SGX_SUCCESS) { |
| 827 | print_error_message(ret); |
| 828 | throw ret; |
| 829 | } |
| 830 | } |
| 831 | void matmul2d_grad(unsigned long int eid,float *input,float* grad,float* weight,int N,int M,int C,float *output1,float* output2){ |
| 832 | sgx_status_t ret = ecall_matmul_grad(eid,input,grad,weight,N,M,C,output1,output2); |
| 833 | if (ret != SGX_SUCCESS) { |
nothing calls this directly
no test coverage detected