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
如果按照原先方式: std::unique_ptr<uint8_t[]> src{new uint8_t[NR_BYTES]{}}; std::unique_ptr<uint8_t[]> dst{new uint8_t[NR_BYTES]{}}; 此时得到的带宽偏低,在8295上可能才14 GBps 如果改为: uint8_t* src = (uint8_t*)malloc(NR_BYTES * sizeof(uint8_t)); uint8_t* dst = (uint8_t*)malloc(NR_BYTES * sizeof(uint8_t)); 得到的带宽接近36 GBps。 测试设备 SA8295大核。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如果按照原先方式:
std::unique_ptr<uint8_t[]> src{new uint8_t[NR_BYTES]{}};
std::unique_ptr<uint8_t[]> dst{new uint8_t[NR_BYTES]{}};
此时得到的带宽偏低,在8295上可能才14 GBps
如果改为:
uint8_t* src = (uint8_t*)malloc(NR_BYTES * sizeof(uint8_t));
uint8_t* dst = (uint8_t*)malloc(NR_BYTES * sizeof(uint8_t));
得到的带宽接近36 GBps。
测试设备 SA8295大核。
The text was updated successfully, but these errors were encountered: