Skip to content

Commit bc78994

Browse files
committed
rename
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent 9fd5b97 commit bc78994

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

vortex-cuda/kernels/src/alp.cu

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
// only encoded as i32, and f64 is only encoded as i64. The i64 → double cast
1414
// is lossless for all values ALP can produce.
1515
template <typename EncT, typename FloatT>
16-
__device__ void _alp_device(const EncT *__restrict in,
17-
FloatT *__restrict out,
18-
FloatT f,
19-
FloatT e,
20-
uint64_t array_len,
21-
int thread_idx,
22-
GPUPatches &patches) {
16+
__device__ void alp_device(const EncT *__restrict in,
17+
FloatT *__restrict out,
18+
FloatT f,
19+
FloatT e,
20+
uint64_t array_len,
21+
int thread_idx,
22+
GPUPatches &patches) {
2323
constexpr int ThreadCount = 32;
2424
// ThreadCount == 32 (one warp) is baked into this kernel:
2525
// - __syncwarp() below is only sufficient because all threads live in one warp.
@@ -83,7 +83,7 @@ __device__ void _alp_device(const EncT *__restrict in,
8383
int thread_idx = threadIdx.x; \
8484
auto in = full_in + (blockIdx.x * 1024); \
8585
auto out = full_out + (blockIdx.x * 1024); \
86-
_alp_device<EncT, FloatT>(in, out, f, e, array_len, thread_idx, patches); \
86+
alp_device<EncT, FloatT>(in, out, f, e, array_len, thread_idx, patches); \
8787
}
8888

8989
// The only ALPInt bindings produced by the encoder are (f32, i32) and (f64, i64).

0 commit comments

Comments
 (0)