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

Function matadd

sgx_tf_ops/App/App.cpp:682–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680}
681
682void 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}
689void matadd_grad(unsigned long int eid, float* input1,float* input2, float* grad,int N,int C,float* output1,float* output2){
690sgx_status_t ret = ecall_matadd_grad(eid,input1,input2,grad,N,C,output1,output2);
691 if (ret != SGX_SUCCESS) {

Callers

nothing calls this directly

Calls 2

ecall_mataddFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected