operator()

operator()#

stdgpu: stdgpu::hash< int >::operator()
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ operator()()

STDGPU_HOST_DEVICE std::size_t stdgpu::hash< int >::operator() ( const int &  key) const

Computes a hash value for the given key.

Parameters
[in]keyThe key
Returns
The corresponding hash value