MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / transform

Class transform

test/rocprim/test_device_transform.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template<class T>
125struct transform
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
135TYPED_TEST(RocprimDeviceTransformTests, Transform)
136{

Callers 15

TYPED_TESTFunction · 0.70
testLargeIndicesFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
device_sort_checkFunction · 0.70
TESTFunction · 0.70
get_block_size_multiplesFunction · 0.70
TYPED_TESTFunction · 0.70
TYPED_TESTFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
runMethod · 0.50

Calls

no outgoing calls

Tested by 15

TYPED_TESTFunction · 0.56
testLargeIndicesFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.56
device_sort_checkFunction · 0.56
TESTFunction · 0.56
get_block_size_multiplesFunction · 0.56
TYPED_TESTFunction · 0.56
TYPED_TESTFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.56
obtain_device_from_ctestFunction · 0.40