livoxG1:slotCompactor.cl: mental-validate and refactor

This commit is contained in:
2025-11-09 03:36:58 -04:00
parent a0a5aa49ad
commit 511f1796e8
2 changed files with 56 additions and 44 deletions
+3 -2
View File
@@ -50,10 +50,11 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
)
# Set assembler working directory so .incbin can find the .cl file
# Also declare dependency on collateDgrams.cl
# Also declare dependency on collateDgrams.cl and slotCompactor.cl
set_source_files_properties(openClKernels.cl.S PROPERTIES
COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}"
OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/collateDgrams.cl"
OBJECT_DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/collateDgrams.cl;${CMAKE_CURRENT_SOURCE_DIR}/slotCompactor.cl"
)
target_include_directories(livoxGen1 PUBLIC