operator()

operator()#

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

◆ operator()()

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

Computes a hash value for the given key.

Parameters
[in]keyThe key
Returns
The corresponding hash value