This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Modernize obsolete inline order
tags/v0.3.24
TGY
2 years ago
parent
562ef5fdca
commit
b5ba95a6c0
10 changed files
with
10 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
common.h
+1
-1
common_alpha.h
+1
-1
common_arm.h
+1
-1
common_arm64.h
+1
-1
common_power.h
+1
-1
common_sparc.h
+1
-1
common_x86.h
+1
-1
common_x86_64.h
+1
-1
common_zarch.h
+1
-1
kernel/power/lock.c
+ 1
- 1
common.h
View File
@@ -525,7 +525,7 @@ static inline unsigned long long rpcc(void){
#endif // !RPCC_DEFINED
#if !defined(BLAS_LOCK_DEFINED) && defined(__GNUC__)
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
do {
while (*address) {YIELDING;};
+ 1
- 1
common_alpha.h
View File
@@ -45,7 +45,7 @@
#define WMB asm("wmb")
#define RMB asm("mb")
static
void
__inline blas_lock(unsigned long *address){
static __inline
void
blas_lock(unsigned long *address){
#ifndef __DECC
unsigned long tmp1, tmp2;
asm volatile(
+ 1
- 1
common_arm.h
View File
@@ -55,7 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if defined(ARMV6) || defined(ARMV7) || defined(ARMV8)
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
int register ret;
+ 1
- 1
common_arm64.h
View File
@@ -55,7 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef ASSEMBLER
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
BLASULONG ret;
+ 1
- 1
common_power.h
View File
@@ -91,7 +91,7 @@
void *qalloc(int flags, size_t bytes);
static
void
INLINE blas_lock(volatile unsigned long *address){
static INLINE
void
blas_lock(volatile unsigned long *address){
long int ret, val = 1;
+ 1
- 1
common_sparc.h
View File
@@ -45,7 +45,7 @@
#ifndef ASSEMBLER
static
void
__inline blas_lock(volatile unsigned long *address){
static __inline
void
blas_lock(volatile unsigned long *address){
long int ret = 1;
+ 1
- 1
common_x86.h
View File
@@ -54,7 +54,7 @@
#define __volatile__
#endif
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
int ret;
+ 1
- 1
common_x86_64.h
View File
@@ -70,7 +70,7 @@
#define RMB
#endif
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
#ifndef C_MSVC
+ 1
- 1
common_zarch.h
View File
@@ -45,7 +45,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef ASSEMBLER
/*
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
BLASULONG ret;
+ 1
- 1
kernel/power/lock.c
View File
@@ -36,7 +36,7 @@
/* or implied, of The University of Texas at Austin. */
/*********************************************************************/
static
void
__inline blas_lock(volatile BLASULONG *address){
static __inline
void
blas_lock(volatile BLASULONG *address){
#ifdef __GNUC__
Write
Preview
Loading…
Cancel
Save