diff options
Diffstat (limited to 'db/skiplist.cuh')
| -rw-r--r-- | db/skiplist.cuh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/skiplist.cuh b/db/skiplist.cuh index 1fd7091..125a790 100644 --- a/db/skiplist.cuh +++ b/db/skiplist.cuh @@ -218,7 +218,7 @@ struct SkipList<Key, Comparator>::Node { // version of the returned Node. return next_[n].load(cuda::memory_order_acquire); } - __device__ void SetNext(int n, Node* x) { + __device__ __host__ void SetNext(int n, Node* x) { assert(n >= 0); // Use a 'release store' so that anybody who reads through this // pointer observes a fully initialized version of the inserted node. |
