Disable disabling sba pools

The disable sba pools functionality currently gives incorrect results
at runtime when multiple threads are used. Fixes and improvements are
present in the upstream version of BLIS, so until these are downstreamed
only allow builds where sba pools are enabled.

AMD-Internal: [CPUPL-5512]
Change-Id: I9ccd654477fb714a2fb5f38a138b7e9b5e55e33d
This commit is contained in:
Edward Smyth
2024-08-20 05:20:33 -04:00
parent 3a6d367f9c
commit e7d3d444d8
2 changed files with 5 additions and 2 deletions

View File

@@ -522,7 +522,8 @@ if(ENABLE_SBA_POOLS)
message(" Internal memory pools for small blocks are enabled.")
set(ENABLE_SBA_POOLS_01 1)
else()
message(" Internal memory pools for small blocks are disabled.")
#message(" Internal memory pools for small blocks are disabled.")
message(FATAL_ERROR "Disabling memory pools for small blocks is currently disabled, awaiting fixes to this functionality.")
set(ENABLE_SBA_POOLS_01 0)
endif()
cmake_print_variables(ENABLE_MEM_TRACING)

4
configure vendored
View File

@@ -3133,7 +3133,9 @@ main()
echo "${script_name}: internal memory pools for small blocks are enabled."
enable_sba_pools_01=1
else
echo "${script_name}: internal memory pools for small blocks are disabled."
#echo "${script_name}: internal memory pools for small blocks are disabled."
echo "${script_name}: *** disabling memory pools for small blocks is currently disabled, awaiting fixes to this functionality."
exit 1
enable_sba_pools_01=0
fi
if [ "x${enable_mem_tracing}" = "xyes" ]; then