diff options
| author | KunoiSayami <[email protected]> | 2022-04-19 19:15:29 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-04-19 19:15:29 +0800 |
| commit | 0b1a8e9299df42ad22ac889dc9907c8efe2dd9d3 (patch) | |
| tree | f79c01de73d21cc0c81fb5a266d15447eeb5f301 /db | |
| parent | 031ae383cf3d1b31587ccbc6134d83158d1b0210 (diff) | |
refactor: Use table_test.cu
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'db')
| -rw-r--r-- | db/memtable.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/memtable.cu b/db/memtable.cu index e021605..241a35b 100644 --- a/db/memtable.cu +++ b/db/memtable.cu @@ -76,7 +76,7 @@ class MemTableIterator : public Iterator { Iterator* MemTable::NewIterator() { return new MemTableIterator(&table_); } -__global__ void Add_(MemTable * mtb, size_t encoded_len,char * encode_data) { +__global__ void Add_(MemTable * mtb, size_t encoded_len, char * encode_data) { char* buf = mtb->arena_.Allocate(encoded_len); memcpy(buf, encode_data, encoded_len); mtb->table_.Insert(buf); |
