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
假设SPM的第一行所有元素都为0,那么ptr[0]是多少?如果ptr[0]是0的话那不就还是包含了第一个元素?(虽然没有影响测试数据通过,但是感觉表示方法有bug)或者说测试样例里面都保证了SpM第一行一定有一个值?
The text was updated successfully, but these errors were encountered:
是的,保证 SpM 第一行至少有一个值。这是本次 lab 的 spmm 格式的缺陷,第一行不能为空。 这样设计的原因是为了把 ptr 数组每个元素的值 fit 到 $2 \log_2 n$ 的位宽。README 中也说到:
hlcd-spmm-project/README.md
Line 29 in 76bed52
更标准的是记录开始元素,但在这个 lab 里我们考虑结束元素
Sorry, something went wrong.
Thx!
KEKE046
No branches or pull requests
假设SPM的第一行所有元素都为0,那么ptr[0]是多少?如果ptr[0]是0的话那不就还是包含了第一个元素?(虽然没有影响测试数据通过,但是感觉表示方法有bug)或者说测试样例里面都保证了SpM第一行一定有一个值?
The text was updated successfully, but these errors were encountered: