Skip to content

Commit d1ed72f

Browse files
committed
[win/arm64]: Explicit casting for GMEMM_DEFAULT_ALIGN to create 64-bit value
Win64 uses LLP64 datamodel and unsigned long is only 32-bit. For 64-bit architecture we need 64-bit mask to correctly generate address
1 parent c6c2a71 commit d1ed72f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

param.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,7 @@ 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-
#define GEMM_DEFAULT_ALIGN 0x03fffUL
2958+
#define GEMM_DEFAULT_ALIGN (BLASULONG)0x03fffUL
29592959

29602960
#define SYMV_P 16
29612961

0 commit comments

Comments
 (0)