diff --git a/stimBuffApis/livoxGen1/openClKernels.cl.S b/stimBuffApis/livoxGen1/openClKernels.cl.S index 87d50ee..d6d17a6 100644 --- a/stimBuffApis/livoxGen1/openClKernels.cl.S +++ b/stimBuffApis/livoxGen1/openClKernels.cl.S @@ -12,6 +12,6 @@ collateKernelEnd: .section .data collateKernelNBytes: - .quad collateKernelEnd - collateKernelStart + .long collateKernelEnd - collateKernelStart .section .note.GNU-stack,"",@progbits diff --git a/stimBuffApis/livoxGen1/openClKernels.h b/stimBuffApis/livoxGen1/openClKernels.h index 9dce67c..86fa595 100644 --- a/stimBuffApis/livoxGen1/openClKernels.h +++ b/stimBuffApis/livoxGen1/openClKernels.h @@ -1,7 +1,7 @@ #ifndef _LIVOX_GEN1_OPENCL_KERNELS_H #define _LIVOX_GEN1_OPENCL_KERNELS_H -#include +#include 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