livoxG1: Make collateKernelNBytes a uint32_t for 32bit portability

This commit is contained in:
2025-11-08 10:59:08 -04:00
parent 9233f7fdc8
commit 5dbed56e38
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ collateKernelEnd:
.section .data
collateKernelNBytes:
.quad collateKernelEnd - collateKernelStart
.long collateKernelEnd - collateKernelStart
.section .note.GNU-stack,"",@progbits
+2 -2
View File
@@ -1,7 +1,7 @@
#ifndef _LIVOX_GEN1_OPENCL_KERNELS_H
#define _LIVOX_GEN1_OPENCL_KERNELS_H
#include <cstddef>
#include <cstdint>
namespace smo {
namespace stim_buff {
@@ -9,7 +9,7 @@ namespace stim_buff {
// External symbols for collate kernel
extern const char collateKernelStart[];
extern const char collateKernelEnd[];
extern const size_t collateKernelNBytes;
extern const uint32_t collateKernelNBytes;
} // namespace stim_buff
} // namespace smo