Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/rocPRIM
/ operator()
Method
operator()
test/rocprim/test_device_transform.cpp:128–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
{
127
__device__ __host__
128
inline T
129
operator()(const T& a) const
130
{
131
return rocprim::plus<T>()(a, T(5));
132
}
133
};
134
135
TYPED_TEST(RocprimDeviceTransformTests, Transform)
Callers
nothing calls this directly
Calls
1
T
Class · 0.50
Tested by
no test coverage detected