Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
TEST_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
}
44
TEST_CASE(swap_same_value)
45
{
46
int a = 7;
Callers
nothing calls this directly
Calls
15
swap
Function · 0.85
iter_swap
Function · 0.85
accumulate
Function · 0.85
is_sorted_until
Function · 0.85
find
Function · 0.85
search
Function · 0.85
inner_product
Function · 0.85
iota
Function · 0.85
min_element
Function · 0.85
rotate
Function · 0.85
stable_sort
Function · 0.85
merge
Function · 0.85
Tested by
no test coverage detected