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

Function TEST

test/half.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21using std::vector;
22
23TEST(Half, print) {
24 SUPPORTED_TYPE_CHECK(af_half);
25 array aa = af::constant(3.14, 3, 3, f16);
26 array bb = af::constant(2, 3, 3, f16);
27 af_print(aa);
28}
29
30struct convert_params {
31 af_dtype from, to;

Callers

nothing calls this directly

Calls 5

constantFunction · 0.85
infinityFunction · 0.85
isInfFunction · 0.85
isNaNFunction · 0.85
halfClass · 0.50

Tested by

no test coverage detected