File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1309,6 +1309,15 @@ endif ()
13091309 "#define DTB_DEFAULT_ENTRIES 128\n "
13101310 "#define DTB_SIZE 4096\n "
13111311 "#define L2_ASSOCIATIVE 8\n " )
1312+ elseif ("${TCORE} " STREQUAL "RISCV64_GENERIC" )
1313+ file (APPEND ${TARGET_CONF_TEMP}
1314+ "#define L1_DATA_SIZE 32768\n "
1315+ "#define L1_DATA_LINESIZE 32\n "
1316+ "#define L2_SIZE 1048576\n "
1317+ "#define L2_LINESIZE 32 \n "
1318+ "#define DTB_DEFAULT_ENTRIES 128\n "
1319+ "#define DTB_SIZE 4096\n "
1320+ "#define L2_ASSOCIATIVE 4\n " )
13121321 endif ()
13131322 set (SBGEMM_UNROLL_M 8)
13141323 set (SBGEMM_UNROLL_N 4)
Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
615615endif ()
616616
617617if (CMAKE_Fortran_COMPILER)
618- if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*" )
618+ if (" ${F_COMPILER} " STREQUAL "NAG" OR " ${F_COMPILER} " STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*" )
619619 set (FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512" )
620620 if (CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*" )
621621message (STATUS "removing fortran flags" )
You can’t perform that action at this time.
0 commit comments