projects
/
platform
/
upstream
/
openblas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: LLVM: Add Flang compiler support and enable OpenMP for Clang
[platform/upstream/openblas.git]
/
common_x86.h
diff --git
a/common_x86.h
b/common_x86.h
index
ab9f22b
..
4363fb2
100644
(file)
--- a/
common_x86.h
+++ b/
common_x86.h
@@
-62,7
+62,7
@@
static void __inline blas_lock(volatile BLASULONG *address){
#if defined(_MSC_VER) && !defined(__clang__)
// use intrinsic instead of inline assembly
- ret = _InterlockedExchange(address, 1);
+ ret = _InterlockedExchange(
(volatile LONG *)
address, 1);
// inline assembly
/*__asm {
mov eax, address