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

Function transposeInPlaceCPPTest

test/transpose_inplace.cpp:74–82  ·  view source on GitHub ↗

///////////////////////////////// CPP //////////////////////////////////

Source from the content-addressed store, hash-verified

72////////////////////////////////////// CPP //////////////////////////////////
73//
74void transposeInPlaceCPPTest() {
75 dim4 dims(64, 64, 1, 1);
76
77 array input = randu(dims);
78 array output = transpose(input);
79 transposeInPlace(input);
80
81 ASSERT_ARRAYS_EQ(input, output);
82}

Callers

nothing calls this directly

Calls 3

randuFunction · 0.85
transposeInPlaceFunction · 0.85
transposeFunction · 0.50

Tested by

no test coverage detected