Merged
新增5102版本定义 #6253
qwerwjyAdd on Sep 20
新增5102版本定义 #6253
Merged
Merged fromqwerwjy/asc-devkit_issue1752masterintocann/asc-devkitmaster
Total: 1 files changed+7-0
| @@ -85,6 +85,13 @@ constexpr uint64_t ASC_L0A_SIZE = 64 * 1024; | |||
| 85 | constexpr uint64_t ASC_L0B_SIZE = 64 * 1024; | 85 | constexpr uint64_t ASC_L0B_SIZE = 64 * 1024; |
| 86 | constexpr uint64_t ASC_L0C_SIZE = 256 * 1024; | 86 | constexpr uint64_t ASC_L0C_SIZE = 256 * 1024; |
| 87 | constexpr uint64_t ASC_BT_SIZE = 4 * 1024; | 87 | constexpr uint64_t ASC_BT_SIZE = 4 * 1024; |
| 88 | +#elif defined(__NPU_ARCH__) && (__NPU_ARCH__ == 5102) | ||
| 89 | +constexpr uint64_t ASC_UB_SIZE = 248 * 1024 + __ASC_DISABLE_RESERVD_UBUF_SIZE + __ASC_DISABLE_VF_STACK_RESERVD_UBUF_SIZE; | ||
| 90 | +constexpr uint64_t ASC_L1_SIZE = 1024 * 1024; | ||
| 91 | +constexpr uint64_t ASC_L0A_SIZE = 64 * 1024; | ||
| 92 | +constexpr uint64_t ASC_L0B_SIZE = 64 * 1024; | ||
| 93 | +constexpr uint64_t ASC_L0C_SIZE = 256 * 1024; | ||
| 94 | +constexpr uint64_t ASC_BT_SIZE = 4 * 1024; | ||
| 88 | #elif defined(__NPU_ARCH__) && (__NPU_ARCH__ == 5101) | 95 | #elif defined(__NPU_ARCH__) && (__NPU_ARCH__ == 5101) |
| 89 | constexpr uint64_t ASC_UB_SIZE = 128 * 1024; | 96 | constexpr uint64_t ASC_UB_SIZE = 128 * 1024; |
| 90 | constexpr uint64_t ASC_L1_SIZE = 1536 * 1024; | 97 | constexpr uint64_t ASC_L1_SIZE = 1536 * 1024; |