Skip to content

Commit 7cddbf9

Browse files
committed
Make explicit conversion condition on _WIN64 flag
1 parent d1ed72f commit 7cddbf9

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 */
29582960
#define GEMM_DEFAULT_ALIGN (BLASULONG)0x03fffUL
2961+
#else
2962+
#define GEMM_DEFAULT_ALIGN 0x03fffUL
2963+
#endif
29592964

29602965
#define SYMV_P 16
29612966

0 commit comments

Comments
 (0)