Merged
新增5102版本定义 #6253
新增5102版本定义 #6253
Merged
qwerwjyAdd on Sep 20
Total: 1 files changed+7-0
@@ -85,6 +85,13 @@ constexpr uint64_t ASC_L0A_SIZE = 64 * 1024;
85constexpr uint64_t ASC_L0B_SIZE = 64 * 1024;85constexpr uint64_t ASC_L0B_SIZE = 64 * 1024;
86constexpr uint64_t ASC_L0C_SIZE = 256 * 1024;86constexpr uint64_t ASC_L0C_SIZE = 256 * 1024;
87constexpr uint64_t ASC_BT_SIZE = 4 * 1024;87constexpr 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)
89constexpr uint64_t ASC_UB_SIZE = 128 * 1024;96constexpr uint64_t ASC_UB_SIZE = 128 * 1024;
90constexpr uint64_t ASC_L1_SIZE = 1536 * 1024;97constexpr uint64_t ASC_L1_SIZE = 1536 * 1024;