mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 22:28:01 -05:00
chore(hpu): fix clippy
This commit is contained in:
@@ -143,6 +143,7 @@ impl<T: Sized + bytemuck::Pod> HugeMemory<T> {
|
||||
/// Read data slice from memory cut_id
|
||||
/// NB: User specify offset in unit of data.
|
||||
#[tracing::instrument(level = "trace", skip(data), ret)]
|
||||
#[allow(dead_code)]
|
||||
pub fn read_cut_at(&mut self, cut_id: usize, ofst: usize, data: &mut [T]) {
|
||||
assert!(
|
||||
ofst + data.len() <= self.cut_coefs,
|
||||
|
||||
Reference in New Issue
Block a user