diff options
| author | KunoiSayami <[email protected]> | 2021-12-13 01:36:45 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2021-12-13 01:36:45 +0800 |
| commit | b338a2083d68b9a8d1e3eb17538535aa050426df (patch) | |
| tree | 7c7d9e3c65d2ebf437c49b86ac485b1142261c2e /util | |
| parent | a2a9e40d917e3a932e5f563743a0f908f38ac2c6 (diff) | |
test(skiplist): Add insert and check test
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'util')
| -rw-r--r-- | util/arena.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/arena.cu b/util/arena.cu index a9556e5..82dbfe6 100644 --- a/util/arena.cu +++ b/util/arena.cu @@ -12,7 +12,7 @@ __device__ Arena::Arena() : alloc_ptr_(nullptr), alloc_bytes_remaining_(0), memory_usage_(0), head_(nullptr), blocks_(nullptr) {} -Arena::~Arena() { +__device__ Arena::~Arena() { ArenaNode * current = this->head_; while (current != nullptr) { ArenaNode * next = current->next; |
