"vscode:/vscode.git/clone" did not exist on "548a7df014df6e50947878bfc2eb6fc3106e3906"
common.cuh 250 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

template <class T1, class T2>
struct is_same
{
    static const bool value = false;
};

template <class T>
struct is_same<T, T>
{
    static const bool value = true;
};
Chao Liu's avatar
Chao Liu committed
14
15

__device__ unsigned get_thread_local_id() { return threadIdx.x; }