Skip to content

Commit 47171e4

Browse files
authored
Merge pull request #3354 from nsait-linaro/fix_gmemm_align_win_arm
[win/arm64]: Explicit casting for GEMM_DEFAULT_ALIGN to create 64-bit value
2 parents 8062214 + 7cddbf9 commit 47171e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

param.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29552955

29562956
#define GEMM_DEFAULT_OFFSET_A 0
29572957
#define GEMM_DEFAULT_OFFSET_B 0
2958+
#ifdef _WIN64
2959+
/* Use explicit casting for win64 as LLP64 datamodel is used */
2960+
#define GEMM_DEFAULT_ALIGN (BLASULONG)0x03fffUL
2961+
#else
29582962
#define GEMM_DEFAULT_ALIGN 0x03fffUL
2963+
#endif
29592964

29602965
#define SYMV_P 16
29612966

0 commit comments

Comments
 (0)