Skip to content

Commit dbd8376

Browse files
authored
Merge pull request #4926 from NickelWenzel/fix_arm64_windows_and_uwp
fix: add missing NO_AFFINITY checks
2 parents 7ac5b90 + bee123e commit dbd8376

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common_arm64.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5555
#ifndef ASSEMBLER
5656

5757

58+
#ifndef NO_AFFINITY
5859
static __inline int WhereAmI(void){
5960
uint64_t ret;
6061
__asm__ volatile (
@@ -67,6 +68,7 @@ static __inline int WhereAmI(void){
6768
if ((int)ret <0) ret = 0;
6869
return (int)ret;
6970
}
71+
#endif
7072

7173
static __inline void blas_lock(volatile BLASULONG *address){
7274

0 commit comments

Comments
 (0)