Skip to content

Commit a8b9c0b

Browse files
authored
chore: enforce matching cub filter abi (#6193)
Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
1 parent d334647 commit a8b9c0b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

vortex-cuda/cub/kernels/filter.cu

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
#include <cuda_runtime.h>
1010
#include <stdint.h>
1111

12+
// The include is done to ensure C API definitions match declarations.
13+
// Otherwise, the implementation could diverge from the declaration causing
14+
// silent ABI breaks. This is crucial to keep rust bindgen in sync.
15+
#include "filter.h"
16+
1217
// Bit extraction functor for TransformInputIterator
1318
struct BitExtractor {
1419
const uint8_t* packed;

0 commit comments

Comments
 (0)