mirror of
https://github.com/amd/blis.git
synced 2026-05-11 09:39:59 +00:00
Unconditionally check memory pool(s) for errors.
Details: - Changed bli_mem_acquire_m() in bli_mem.c so that we still check if the memory pool is exhausted before checking out and returning a block, even if BLIS error checking has been disabled. These errors are useful because they likely indicate that BLIS was improperly configured for the code being run.
This commit is contained in:
@@ -154,8 +154,7 @@ void bli_mem_acquire_m( siz_t req_size,
|
||||
pool_index = bli_packbuf_index( buf_type );
|
||||
pool = &pools[ pool_index ];
|
||||
|
||||
// Perform error checking, if enabled.
|
||||
if ( bli_error_checking_is_enabled() )
|
||||
// Unconditionally perform error checking on the memory pool.
|
||||
{
|
||||
err_t e_val;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user