Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update IREE third-party/benchmark for RISC-V Compatibility
This PR updates the third-party/benchmark in IREE to address the use of the RDCYCLE instruction on RISC-V. Starting from Linux 6.6[1], RDCYCLE is a privileged instruction and cannot be directly accessed from user space. To ensure compatibility, this update transitions to using RDTIME instead. Use RDTIME instead, which while less accurate has the advantage of being synchronized between CPU (and thus monotonic) and of constant frequency. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3 Signed-off-by: Phoebe Chen <[email protected]>
- Loading branch information