You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./spike_test
[INFO]: [HW DRIVER] in [FILE] ventus.cpp,[LINE]25,[fn] vt_dev_open: vt_dev_open : hello world from ventus.cpp
spike device initialize: allocating local memory: to allocate at 0x70000000 with 268435456 bytes
spike device initialize: allocating pc source memory: to allocate at 0x80000000 with 268435456 bytes
to allocate at 0x90000000 with 268435456 bytes
to allocate at 0xa0000000 with 131072 bytes
Warning: the memory at [0xA0020000, 0xA002003F] has been realigned
to the 4 KiB page size: [0xA0020000, 0xA0020FFF]
to allocate at 0xa0020000 with 4096 bytes
Warning: the memory at [0xA0021000, 0xA002103F] has been realigned
to the 4 KiB page size: [0xA0021000, 0xA0021FFF]
to allocate at 0xa0021000 with 4096 bytes
Warning: the memory at [0xA0022000, 0xA002203F] has been realigned
to the 4 KiB page size: [0xA0022000, 0xA0022FFF]
to allocate at 0xa0022000 with 4096 bytes
Warning: the memory at [0xA0023000, 0xA0023007] has been realigned
to allocate at 0xa0024000 with 268435456 bytes
to copy to 0xa0020000 with 64 bytes
to copy to 0xa0021000 with 64 bytes
to copy to 0xa0021000 with 64 bytes
to copy to 0xa0022000 with 56 bytes
to copy to 0xa0023000 with 8 bytes
arg gpgpu is numw:4,numt:8,numwg:1,kernelx:1,kernely:1,kernelz:1,ldssize:0x1000,pdssize:0x10000000,pdsbase:0xa0000000,knlbase:0xa0022000,currwgid:0
vaddr mem scope is -m0x70000000:0xb0024000
src file is vecadd.riscv, run log is written to vecadd.riscv.log
spike -l --log-commits -p4 --isa rv32gcv_zfh --pc=0x80000000 -m0x70000000:0xb0024000 --varch vlen:256,elen:32 --gpgpuarch numw:4,numt:8,numwg:1,kernelx:1,kernely:1,kernelz:1,ldssize:0x1000,pdssize:0x10000000,pdsbase:0xa0000000,knlbase:0xa0022000,currwgid:0 --log=vecadd.riscv.log vecadd.riscv
环境 (Environment)
ventus-gpgpu-isa-simulator
,按照项目提供的说明安装重现步骤 (Steps to Reproduce)
vecadd.cl
进行编译。vecadd.riscv
文件拷贝到ventus-gpgpu-isa-simulator/gpgpu-testcase/driver/build
目录下。./spike_test
。预期行为 (Expected Behavior)
./spike_test
应该正常完成执行,并输出正确的结果。实际行为 (Actual Behavior)
当运行
./spike_test
时,程序会在Spike模拟器中卡住,终端输出如下:程序会在此处卡住,生成的
vecadd.riscv.log
文件持续增大。曾经达到过200多G,然后我将该文件删除了。额外信息 (Additional Information)
gpgpu-testcase/vsw_testcase
目录下的预编译vecadd.riscv
文件可以正常运行./spike_test
,这表明可能是我的编译过程或环境设置存在问题。问题 (Questions)
vecadd.cl
时是否需要特定的设置或标志?我可能遗漏了什么?是否有更新后的使用教程或命令?vecadd.riscv
),以确定它在何处卡住?感谢您的帮助!
The text was updated successfully, but these errors were encountered: