Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ get_unique_matrix_accesses()

template<const char * Code, typename... T_arguments>
auto stan::math::opencl_code_< Code, T_arguments >::get_unique_matrix_accesses ( std::vector< int > &  uids,
std::unordered_map< const void *, int > &  id_map,
int &  next_id 
) const
inline

Collects data that is needed beside types to uniqly identify a kernel generator expression.

Parameters
[out]uidsids of unique matrix accesses
[in,out]id_mapmap from memory addresses to unique ids
[in,out]next_idneqt unique id to use

Definition at line 301 of file opencl_code.hpp.