diff options
| author | KunoiSayami <[email protected]> | 2022-04-07 01:32:17 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-04-07 01:32:17 +0800 |
| commit | 706cae9f460fe698857f47aaa42eb517ea2cb09f (patch) | |
| tree | 2f3a775e280120d65191ce29760ae4aba06b57cf /util/coding.cuh | |
| parent | 32ce8b311269df205e192c2b61dc47faaa2c5971 (diff) | |
feat: Finish implement cuda memtable
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'util/coding.cuh')
| -rw-r--r-- | util/coding.cuh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/coding.cuh b/util/coding.cuh index f89177b..dbe5564 100644 --- a/util/coding.cuh +++ b/util/coding.cuh @@ -40,7 +40,7 @@ const char* GetVarint32Ptr(const char* p, const char* limit, uint32_t* v); const char* GetVarint64Ptr(const char* p, const char* limit, uint64_t* v); // Returns the length of the varint32 or varint64 encoding of "v" -int VarintLength(uint64_t v); +__device__ __host__ int VarintLength(uint64_t v); // Lower-level versions of Put... that write directly into a character buffer // and return a pointer just past the last byte written. |
