MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / TEST_CASE

Function TEST_CASE

test/gpu/kernels/array.cpp:30–36  ·  view source on GitHub ↗

Test default construction

Source from the content-addressed store, hash-verified

28
29// Test default construction
30TEST_CASE(array_default_construction)
31{
32 migraphx::array<int, 5> arr;
33 EXPECT(arr.size() == 5);
34 EXPECT(arr.data() != nullptr);
35 EXPECT(not arr.empty());
36}
37
38// Test variadic constructor
39TEST_CASE(array_variadic_constructor)

Callers

nothing calls this directly

Calls 15

array_applyFunction · 0.85
transform_iFunction · 0.85
frontMethod · 0.80
backMethod · 0.80
dotMethod · 0.80
productMethod · 0.80
float_equalFunction · 0.50
make_arrayFunction · 0.50
unpackFunction · 0.50
transformFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected