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

Method setOutput

test/arrayfire_test.cpp:1245–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245void TestOutputArrayInfo::setOutput(af_array array) {
1246 if (out_arr != 0) { ASSERT_SUCCESS(af_release_array(out_arr)); }
1247 out_arr = array;
1248}
1249
1250af_array TestOutputArrayInfo::getFullOutput() { return out_arr; }
1251af_array TestOutputArrayInfo::getFullOutputCopy() { return out_arr_cpy; }

Callers 3

genReorderedArrayFunction · 0.80
testWriteToOutputArrayFunction · 0.80

Calls 1

af_release_arrayFunction · 0.50

Tested by

no test coverage detected