operator()

operator()#

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

◆ operator()()

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

Computes a hash value for the given key.

Parameters
[in]keyThe key
Returns
The corresponding hash value