LSLab
include
lslab
hash.h
Go to the documentation of this file.
1
4
#include "
lslab.h
"
5
6
#pragma once
7
8
namespace
lslab {
9
10
template
<
typename
T>
11
struct
hash
{
12
LSLAB_HOST_DEVICE
size_t
operator()(T x) {
13
return
static_cast<
size_t
>
(x);
14
}
15
};
16
17
18
};
19
lslab.h
lslab::hash
Definition:
hash.h:11
Generated by
1.9.1