Add Blackwell instructions test kernel and update linker script

- Add kernels/blackwell_insts/ with test kernel and input data
- Update linker script with extended memory layout
- Remove obsolete sgemm_tcore_blackwell Makefile
- Update VX_types.h and common.h
This commit is contained in:
2026-05-06 14:50:28 +08:00
parent bcc566b621
commit 8f7dba5920
11 changed files with 235 additions and 10 deletions

View File

@@ -7,6 +7,15 @@ OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv",
"elf64-littleriscv")
OUTPUT_ARCH(riscv)
ENTRY(_start)
MEMORY {
DRAM0 (rwx): ORIGIN = 0x80000000, LENGTH = 512M
DRAMARG (rwx): ORIGIN = 0x9fff0000, LENGTH = 8K
DRAM1 (rwx): ORIGIN = 0xa0000000, LENGTH = 16M
DRAM2 (rwx): ORIGIN = 0xa1000000, LENGTH = 16M
DRAM3 (rwx): ORIGIN = 0xa2000000, LENGTH = 16M
}
SECTIONS
{
. = STARTUP_ADDR;
@@ -249,4 +258,20 @@ SECTIONS
.gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
.args : {
*(.args)
. += 8K;
} > DRAMARG
.operand.a : {
*(.operand.a)
. += 32K;
} > DRAM1
.operand.b : {
*(.operand.b)
. += 32K;
} > DRAM2
.operand.c : {
*(.operand.c)
. += 32K;
} > DRAM3
}