7 Commits

Author SHA1 Message Date
b60ebe52ae WORKSPACE: Only notify that the workspace is too small for OpenMP.
We cannot resize the workspace with OpenMP. It should be allocated
large enough from the beginning. If OpenMP is used, just notify about
the workspace too small and return an error.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-12-08 16:20:57 -03:00
ea0b9b83dc WORKSPACE: Make workspace thread safe.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-12-07 10:46:18 -03:00
e7ec7a6ea9 WORKSPACE: Use print_message().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-19 17:31:33 -03:00
73be41df08 WORKSPACE: Pass the initial workspace size as argument.
Also remove the profiling.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-16 12:00:13 -03:00
d1e9884503 WORKSPACE: Make nwork private.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-15 11:31:36 -03:00
f6784d8861 WORKSPACE: Add subroutine to resize the workspace.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-13 19:44:06 -03:00
79b137a355 WORKSPACE: Add module to handle workspace explicitely.
Perform its initialization and finalization in the driver.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-12 22:26:50 -03:00