Merge pull request #4926 from NickelWenzel/fix_arm64_windows_and_uwp

fix: add missing NO_AFFINITY checks
This commit is contained in:
Martin Kroeker 2024-10-09 19:48:16 +02:00 committed by GitHub
commit dbd83762f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef ASSEMBLER
#ifndef NO_AFFINITY
static __inline int WhereAmI(void){
uint64_t ret;
__asm__ volatile (
@ -67,6 +68,7 @@ static __inline int WhereAmI(void){
if ((int)ret <0) ret = 0;
return (int)ret;
}
#endif
static __inline void blas_lock(volatile BLASULONG *address){