diff --git a/tfhe/src/core_crypto/gpu/entities/lwe_ciphertext_list.rs b/tfhe/src/core_crypto/gpu/entities/lwe_ciphertext_list.rs index d2eaf70d9..ed1356a7e 100644 --- a/tfhe/src/core_crypto/gpu/entities/lwe_ciphertext_list.rs +++ b/tfhe/src/core_crypto/gpu/entities/lwe_ciphertext_list.rs @@ -270,7 +270,6 @@ impl CudaLweCiphertextList { Self(cuda_lwe_list) } - #[cfg(feature = "gpu")] pub fn get_decompression_size_on_gpu(&self, _streams: &CudaStreams, _range: R) -> u64 where R: std::ops::RangeBounds, diff --git a/tfhe/src/integer/gpu/ciphertext/compact_list.rs b/tfhe/src/integer/gpu/ciphertext/compact_list.rs index 727b3448f..4646486b3 100644 --- a/tfhe/src/integer/gpu/ciphertext/compact_list.rs +++ b/tfhe/src/integer/gpu/ciphertext/compact_list.rs @@ -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 { 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, diff --git a/tfhe/src/integer/gpu/ciphertext/compressed_ciphertext_list.rs b/tfhe/src/integer/gpu/ciphertext/compressed_ciphertext_list.rs index 49046324a..7457f3c02 100644 --- a/tfhe/src/integer/gpu/ciphertext/compressed_ciphertext_list.rs +++ b/tfhe/src/integer/gpu/ciphertext/compressed_ciphertext_list.rs @@ -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,