|
|
|
@@ -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){ |
|
|
|
|
|
|
|
|