livoxG1: Make collateKernelNBytes a uint32_t for 32bit portability
This commit is contained in:
@@ -12,6 +12,6 @@ collateKernelEnd:
|
||||
|
||||
.section .data
|
||||
collateKernelNBytes:
|
||||
.quad collateKernelEnd - collateKernelStart
|
||||
.long collateKernelEnd - collateKernelStart
|
||||
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user