mirror of
https://github.com/amd/blis.git
synced 2026-05-04 14:31:12 +00:00
Light-weight logging framewok for LPGEMM.
-A light-weight mechanism/framework to log input details and a stringified version of the post-ops structure is added to LPGEMM. Additionally the runtime of the API is also logged. The logging framework logs to a file with filename following the format aocl_gemm_log_<PID>_<TID>.txt. -To enable this feature, the AOCL_LPGEMM_LOGGER_SUPPORT=1 macro needs to be defined when compiling BLIS (with aocl_gemm addon enabled) by passing CFLAGS="-DAOCL_LPGEMM_LOGGER_SUPPORT=1" to ./configure. Additionally AOCL_ENABLE_LPGEMM_LOGGER=1 has to be exported in the environment during LPGEMM runtime. AMD-Internal: [SWLCSG-3280] Change-Id: I30bfb35b2dc412df70044601b335938fc9f49cfb
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "lpgemm_packb_s8.h"
|
||||
#include "lpgemm_packb_s8s16.h"
|
||||
#include "lpgemm_pack_f32.h"
|
||||
#include "lpgemm_logger.h"
|
||||
|
||||
static lpgemm_cntx_t global_cntx_t_list[AOCL_OPERATION_TYPE_LEN] \
|
||||
__attribute__((aligned(64))); //Only one op type supported now.
|
||||
|
||||
Reference in New Issue
Block a user