8.7.1. Debugging - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

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