Template Function MidPoint

Function Documentation

Warning

doxygenfunction: Unable to resolve function “MidPoint” with arguments “(T, T)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 44] template<typename T> BEGIN_HIPCUB_NAMESPACE constexpr __device__ __host__ T MidPoint (T begin, T end) ——————————————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 76] template<typename T> BEGIN_HIPCUB_NAMESPACE constexpr __device__ __host__ T MidPoint (T begin, T end) —————————————————————————-^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 76] template<typename T> BEGIN_HIPCUB_NAMESPACE constexpr __device__ __host__ T MidPoint (T begin, T end) —————————————————————————-^