| 412 | } |
| 413 | |
| 414 | void reducesum(unsigned long int eid, float *input,int N, float *output){ |
| 415 | sgx_status_t ret = ecall_reducesum(eid,input,N,output); |
| 416 | if (ret != SGX_SUCCESS) { |
| 417 | print_error_message(ret); |
| 418 | throw ret; |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | void reducesum_grad(unsigned long int eid, float *input,float grad,int N, float *output){ |
| 423 | sgx_status_t ret = ecall_reducesum_grad(eid,input,grad,N,output); |
nothing calls this directly
no test coverage detected