We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当尝试使用命令行执行spike时,我遇到了一些困难,我发现它似乎不能直接在命令行中执行,在尝试手动使用spike命令行执行测试的时候报错如下:
./spike -l --log-commits -p512 --isa rv32gcv_zfh --pc=0x80000000 -m0x70000000:0 x94042000 --varch vlen:1024,elen:32 --gpgpuarch numw:1,numt:32,numwg:512,kernelx:512,kernely:1,kernelz:1,ldssize:0x1000,pdssize:0x10000000,pdsbas e:0x90041000,knlbase:0x94041000,currwgid:0 --log=object.riscv.log /home/zzl/Project/Ventus/OpenCL-CTS/build/test_conformance/basic/cache/object.riscv spike: ../riscv/sim.cc:121: sim_t::sim_t(const cfg_t *, bool, std::vector<std::pair<reg_t, mem_t *>>, std::vector<std::pair<reg_t, abstract_device_t *>>, const std::vector<std::string> &, const debug_module_config_t &, const char *, bool, const char *, FILE *): Assertion `w.warp_number * w.workgroup_number == cfg->nprocs()' failed.
如果spike能够使用命令行执行的话,请告知使用方法
The text was updated successfully, but these errors were encountered:
我尝试编译spike的步骤如下:
mkdir build-bin cd build-bin ../configure make -j10
需要执行的测试在OpenCL-CTS中test_conformance/basic/test_intmath.cpp 构建OpenCL-CTS的方法可以参考https://github.com/KhronosGroup/OpenCL-CTS/tree/main 编译OpenCL-CTS后执行
./OpenCL-CTS/build/test_conformance/basic/test_basic intmath_int
即可得到object.riscv 然后尝试执行spike:
./spike -l --log-commits -p512 --isa rv32gcv_zfh --pc=0x80000000 -m0x70000000:0x94042000 --varch vlen:1024,elen:32 --gpgpuarch numw:1,numt:32,numwg:512,kernelx:512,kernely:1,kernelz:1,ldssize:0x1000,pdssize:0x10000000,pdsbase:0x90041000,knlbase:0x94041000,currwgid:0 --log=object.riscv.log /home/zzl/Project/Ventus/OpenCL-CTS/build/test_conformance/basic/cache/object.riscv
得到如下报错:
spike: ../riscv/sim.cc:121: sim_t::sim_t(const cfg_t *, bool, std::vector<std::pair<reg_t, mem_t *>>, std::vector<std::pair<reg_t, abstract_device_t *>>, const std::vector<std::string> &, const debug_module_config_t &, const char *, bool, const char *, FILE *): Assertion `w.warp_number * w.workgroup_number == cfg->nprocs()' failed.
Sorry, something went wrong.
No branches or pull requests
当尝试使用命令行执行spike时,我遇到了一些困难,我发现它似乎不能直接在命令行中执行,在尝试手动使用spike命令行执行测试的时候报错如下:
如果spike能够使用命令行执行的话,请告知使用方法
The text was updated successfully, but these errors were encountered: