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

Method getOutput

test/arrayfire_test.cpp:1237–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237af_array TestOutputArrayInfo::getOutput() {
1238 if (out_arr_type == SUB_ARRAY) {
1239 return out_subarr;
1240 } else {
1241 return out_arr;
1242 }
1243}
1244
1245void TestOutputArrayInfo::setOutput(af_array array) {
1246 if (out_arr != 0) { ASSERT_SUCCESS(af_release_array(out_arr)); }

Callers 4

genReorderedArrayFunction · 0.80
genTestOutputArrayFunction · 0.80
testWriteToOutputArrayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected