Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMReX-Codes/amrex
/ clear_device_vector
Function
clear_device_vector
Tests/Base/TrackedVector/main.cpp:61–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
void clear_device_vector (TVec& v)
62
{
63
v.device().clear();
64
}
65
66
void resize_device_vector_zero (TVec& v)
67
{
Callers
1
test_release_gpu_device_cleared
Function · 0.85
Calls
1
clear
Method · 0.45
Tested by
1
test_release_gpu_device_cleared
Function · 0.68