Skip to content

Fix USE_THREAD=0 builds with only some precisions enabled - #6304

Open
davidheff wants to merge 1 commit into
OpenMathLib:developfrom
Orcina-Ltd:fix-level3-thread-objs-without-smp
Open

davidheff wants to merge 1 commit into
OpenMathLib:developfrom
Orcina-Ltd:fix-level3-thread-objs-without-smp

Conversation

@davidheff

Copy link
Copy Markdown
Contributor

A single-threaded build of only some precisions doesn't compile:

make TARGET=HASWELL USE_THREAD=0 NOFORTRAN=1 BUILD_DOUBLE=1 libs
level3_syrk_threaded.c:233:27: error: 'blas_arg_t' has no member named 'nthreads'

The partial precision lists in driver/level3/Makefile add the threaded syrk, gemm and herk objects without checking SMP. This adds the check.

BUILD_DOUBLE=1, BUILD_COMPLEX=1 and BUILD_COMPLEX16=1 all build now with USE_THREAD=0, and a threaded BUILD_DOUBLE=1 build is unchanged.

The partial precision lists in driver/level3/Makefile added the threaded syrk,
gemm and herk objects without checking SMP, so a single-threaded build failed
to compile them.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant