File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1309,6 +1309,15 @@ endif ()
1309
1309
"#define DTB_DEFAULT_ENTRIES 128\n "
1310
1310
"#define DTB_SIZE 4096\n "
1311
1311
"#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 " )
1312
1321
endif ()
1313
1322
set (SBGEMM_UNROLL_M 8 )
1314
1323
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")
615
615
endif ()
616
616
617
617
if (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.*" )
619
619
set (FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512" )
620
620
if (CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*" )
621
621
message (STATUS "removing fortran flags" )
You can’t perform that action at this time.
0 commit comments