[pstl] Error out when the backend is left unspecified
authorLouis Dionne <ldionne@apple.com>
Thu, 8 Aug 2019 12:43:13 +0000 (12:43 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 8 Aug 2019 12:43:13 +0000 (12:43 +0000)
commita8a436ef95908a560ddca8c5f7c5349d2dc2f977
tree8b3b3a2b9a231bfae2fe8bd1af6467e0d4e5eb61
parentbf4808439f10d270b34cdb82765b74cecc1be191
[pstl] Error out when the backend is left unspecified

Instead of silently falling back to the serial backend, it's better if
we fail loudly when the parallel backend is left unspecified. Since we
have a __pstl_config_site header, a backend should always be specified.

llvm-svn: 368285
pstl/include/pstl/internal/pstl_config.h