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

Function TEST_CASE

test/gpu/kernels/algorithm.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37TEST_CASE(swap_basic)
38{
39 int a = 5;
40 int b = 10;
41 migraphx::swap(a, b);
42 EXPECT(a == 10 and b == 5);
43}
44TEST_CASE(swap_same_value)
45{
46 int a = 7;

Callers

nothing calls this directly

Calls 15

swapFunction · 0.85
iter_swapFunction · 0.85
accumulateFunction · 0.85
is_sorted_untilFunction · 0.85
findFunction · 0.85
searchFunction · 0.85
inner_productFunction · 0.85
iotaFunction · 0.85
min_elementFunction · 0.85
rotateFunction · 0.85
stable_sortFunction · 0.85
mergeFunction · 0.85

Tested by

no test coverage detected