chore: remove redundant gpu feature gate

This commit is contained in:
Mayeul@Zama
2025-07-31 13:16:43 +02:00
committed by Agnès Leroy
parent 54d038ef30
commit 5ee5569d0d
3 changed files with 0 additions and 5 deletions

View File

@@ -270,7 +270,6 @@ impl<T: UnsignedInteger> CudaLweCiphertextList<T> {
Self(cuda_lwe_list)
}
#[cfg(feature = "gpu")]
pub fn get_decompression_size_on_gpu<R>(&self, _streams: &CudaStreams, _range: R) -> u64
where
R: std::ops::RangeBounds<usize>,

View File

@@ -112,7 +112,6 @@ impl CudaCompactCiphertextListExpander {
};
Some((blocks, current_info.data_kind))
}
#[cfg(feature = "gpu")]
fn get_blocks_of_size_on_gpu(&self, index: usize, streams: &CudaStreams) -> Option<u64> {
let preceding_infos = self.blocks_info.get(..index)?;
let current_info = self.blocks_info.get(index)?;
@@ -142,7 +141,6 @@ impl CudaCompactCiphertextListExpander {
.transpose()
}
#[cfg(feature = "gpu")]
pub fn get_decompression_size_on_gpu(
&self,
index: usize,

View File

@@ -125,7 +125,6 @@ impl CudaCompressedCiphertextList {
}
#[allow(clippy::unnecessary_wraps)]
#[cfg(feature = "gpu")]
fn get_blocks_of_size_on_gpu(
&self,
index: usize,
@@ -166,7 +165,6 @@ impl CudaCompressedCiphertextList {
.transpose()
}
#[cfg(feature = "gpu")]
pub fn get_decompression_size_on_gpu(
&self,
index: usize,