From 706cae9f460fe698857f47aaa42eb517ea2cb09f Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Thu, 7 Apr 2022 01:32:17 +0800 Subject: feat: Finish implement cuda memtable Signed-off-by: KunoiSayami --- util/coding.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/coding.cuh') 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. -- cgit v1.3.1