BLASSetThreading(_:)
Sets the BLAS and LAPACK threading model.
Declaration
func BLASSetThreading(_ threading: BLAS_THREADING) -> Int32Parameters
- threading:
A constant that specifies the threading model.
Return Value
0 on success or -1 if the current platform doesn’t support the threading model.
Discussion
This function sets the threading model for subsequent calls into BLAS and LAPACK.
This setting is per thread, and Accelerate saves it in a thread-local variable.