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

Function TEST

test/scan_by_key.cpp:197–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 5, 1e-3);
196
197TEST(ScanByKey, Test_Scan_By_key_Simple_0) {
198 UNSUPPORTED_BACKEND(AF_BACKEND_ONEAPI);
199 dim4 dims(16, 8, 2, 1);
200 int scanDim = 0;
201 int nodel[] = {4, 8};
202 vector<int> nodeLengths(nodel, nodel + sizeof(nodel) / sizeof(int));
203 int keyStart = 0;
204 int keyEnd = 15;
205 int dataStart = 2;
206 int dataEnd = 4;
207 scanByKeyTest<int, int, AF_BINARY_ADD, false>(
208 dims, scanDim, nodeLengths, keyStart, keyEnd, dataStart, dataEnd, 1e-5);
209}
210
211TEST(ScanByKey, Test_Scan_By_key_Simple_1) {
212 UNSUPPORTED_BACKEND(AF_BACKEND_ONEAPI);

Callers

nothing calls this directly

Calls 2

scanByKeyFunction · 0.85
arrayClass · 0.50

Tested by

no test coverage detected