MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / reducesum

Function reducesum

sgx_tf_ops/App/App.cpp:414–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void 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
422void 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);

Callers

nothing calls this directly

Calls 2

ecall_reducesumFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected