Debug Build Configuration:
Build AOCL-DLP with debug symbols for troubleshooting:
cmake -B build -DCMAKE_BUILD_TYPE=Debug
make -j$(nproc)
Sanitizer Options:
AOCL-DLP supports various sanitizers for detecting issues:
# AddressSanitizer (memory errors)
cmake -B build -DDLP_ENABLE_ASAN=ON
# ThreadSanitizer (threading issues)
cmake -B build -DDLP_ENABLE_TSAN=ON
# UndefinedBehaviorSanitizer (undefined behavior)
cmake -B build -DDLP_ENABLE_UBSAN=ON
Verbose Logging:
Enable detailed logging for debugging:
export AOCL_ENABLE_LPGEMM_LOGGER=1
./your_application