projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c2a71
)
[win/arm64]: Explicit casting for GMEMM_DEFAULT_ALIGN to create 64-bit value
author
Niyas Sait
<niyas.sait@linaro.org>
Tue, 24 Aug 2021 05:09:29 +0000
(06:09 +0100)
committer
Niyas Sait
<niyas.sait@linaro.org>
Tue, 31 Aug 2021 10:56:10 +0000
(11:56 +0100)
Win64 uses LLP64 datamodel and unsigned long is only 32-bit. For 64-bit
architecture we need 64-bit mask to correctly generate address
param.h
patch
|
blob
|
history
diff --git
a/param.h
b/param.h
index
634e0ef
..
5250b2f
100644
(file)
--- a/
param.h
+++ b/
param.h
@@
-2955,7
+2955,7
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define GEMM_DEFAULT_OFFSET_A 0
#define GEMM_DEFAULT_OFFSET_B 0
-#define GEMM_DEFAULT_ALIGN 0x03fffUL
+#define GEMM_DEFAULT_ALIGN
(BLASULONG)
0x03fffUL
#define SYMV_P 16