MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / eval

Function eval

src/api/cpp/array.cpp:1121–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119void array::unlock() const { AF_THROW(af_unlock_array(get())); }
1120
1121void eval(int num, array **arrays) {
1122 vector<af_array> outputs(num);
1123 for (int i = 0; i < num; i++) { outputs[i] = arrays[i]->get(); }
1124 AF_THROW(af_eval_multiple(num, &outputs[0]));
1125}
1126
1127void setManualEvalFlag(bool flag) { AF_THROW(af_set_manual_eval_flag(flag)); }
1128

Callers

nothing calls this directly

Calls 2

af_eval_multipleFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected