spcl / gemm_hls

Scalable systolic array-based matrix-matrix multiplication implemented in Vivado HLS for Xilinx FPGAs.
BSD 3-Clause "New" or "Revised" License
297 stars 51 forks source link

cmake message typo #12

Closed salehjg closed 4 years ago

salehjg commented 4 years ago

Hi there,

I just noticed a minor typo in the main CMake script:

math(EXPR MM_REM "${MM_SIZE_N} % ${MM_MEMORY_TILE_SIZE_N}")
if(MM_REM GREATER 0)
  message(FATAL_ERROR "Size in N (${MM_SIZE_M}) must be divisible by memory tile size in N (${MM_MEMORY_TILE_SIZE_N}).")
endif()

MM_SIZE_M should be replaced with MM_SIZE_N

definelicht commented 4 years ago

Thank you @salehjg, I'll correct this.