Browse Source

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
tags/v0.3.18
Martin Kroeker GitHub 4 years ago
parent
commit
47171e4b93
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      param.h

+ 5
- 0
param.h View File

@@ -2955,7 +2955,12 @@ 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
#ifdef _WIN64
/* Use explicit casting for win64 as LLP64 datamodel is used */
#define GEMM_DEFAULT_ALIGN (BLASULONG)0x03fffUL
#else
#define GEMM_DEFAULT_ALIGN 0x03fffUL
#endif

#define SYMV_P 16



Loading…
Cancel
Save