mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Instead of editing a header file, add options to build systems to allow DTL tracing and/or logging output to be generated. For most users logging is recommended, producing a line of output per application thread of every BLAS call made. Tracing provides more detailed info of internal BLIS calls, and is aimed more at expert users and BLIS developers. Different tracing levels from 1 to 10 provide control of the granularity of information produced. The default level is 5. Note that tracing, especially at higher tracing levels, will impose a significant runtime cost overhead. Example usage: Using configure: ./configure ... --enable-aocl-dtl=log amdzen ./configure ... --enable-aocl-dtl=trace --aocl-dtl-trace-level=6 amdzen ./configure ... --enable-aocl-dtl=all amdzen Using CMake: cmake ... -DENABLE_AOCL_DTL=LOG cmake ... -DENABLE_AOCL_DTL=TRACE -DAOCL_DTL_TRACE_LEVEL=6 cmake ... -DENABLE_AOCL_DTL=ALL Also, modify function AOCL_get_requested_threads_count to correct reported thread count in cases where internal value is recorded as -1 AMD-Internal: [CPUPL-7010]