Skip to content

Commit

Permalink
Merge pull request #4926 from NickelWenzel/fix_arm64_windows_and_uwp
Browse files Browse the repository at this point in the history
fix: add missing NO_AFFINITY checks
  • Loading branch information
martin-frbg authored Oct 9, 2024
2 parents 7ac5b90 + bee123e commit dbd8376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common_arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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){

Expand Down

0 comments on commit dbd8376

Please sign in to comment.