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

Class sum_op

test/rocprim/test_thread_algos.cpp:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281struct sum_op
282{
283 template<typename T> ROCPRIM_HOST_DEVICE
284 T
285 operator()(const T& input_1,const T& input_2) const
286 {
287 return input_1 + input_2;
288 }
289};
290
291template<class Type, int32_t Length>
292__global__

Calls

no outgoing calls