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:
Field G. Van Zee
2013-05-01 15:06:30 -05:00
parent 75405a2b83
commit 2f8174509e

View File

@@ -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;