Skip to content

Commit

Permalink
chore(gpu): minor fix in core crypto comments
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesLeroy committed Dec 19, 2024
1 parent e47478a commit 706239b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tfhe/src/core_crypto/gpu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl Drop for CudaStreams {
}
}

/// Discarding bootstrap on a vector of LWE ciphertexts
/// Programmable bootstrap on a vector of LWE ciphertexts
///
/// # Safety
///
Expand Down Expand Up @@ -150,7 +150,7 @@ pub unsafe fn programmable_bootstrap_async<T: UnsignedInteger>(
);
}

/// Discarding bootstrap on a vector of LWE ciphertexts
/// Programmable multi-bit bootstrap on a vector of LWE ciphertexts
///
/// # Safety
///
Expand Down Expand Up @@ -215,7 +215,7 @@ pub unsafe fn programmable_bootstrap_multi_bit_async<T: UnsignedInteger>(
);
}

/// Discarding keyswitch on a vector of LWE ciphertexts
/// Keyswitch on a vector of LWE ciphertexts
///
/// # Safety
///
Expand Down Expand Up @@ -408,7 +408,7 @@ pub unsafe fn extract_lwe_samples_from_glwe_ciphertext_list_async<T: UnsignedInt
);
}

/// Discarding addition of a vector of LWE ciphertexts
/// Addition of a vector of LWE ciphertexts
///
/// # Safety
///
Expand All @@ -433,7 +433,7 @@ pub unsafe fn add_lwe_ciphertext_vector_async<T: UnsignedInteger>(
);
}

/// Discarding assigned addition of a vector of LWE ciphertexts
/// Assigned addition of a vector of LWE ciphertexts
///
/// # Safety
///
Expand All @@ -457,7 +457,7 @@ pub unsafe fn add_lwe_ciphertext_vector_assign_async<T: UnsignedInteger>(
);
}

/// Discarding addition of a vector of LWE ciphertexts with a vector of plaintexts
/// Addition of a vector of LWE ciphertexts with a vector of plaintexts
///
/// # Safety
///
Expand All @@ -482,7 +482,7 @@ pub unsafe fn add_lwe_ciphertext_vector_plaintext_vector_async<T: UnsignedIntege
);
}

/// Discarding assigned addition of a vector of LWE ciphertexts with a vector of plaintexts
/// Assigned addition of a vector of LWE ciphertexts with a vector of plaintexts
///
/// # Safety
///
Expand All @@ -506,7 +506,7 @@ pub unsafe fn add_lwe_ciphertext_vector_plaintext_vector_assign_async<T: Unsigne
);
}

/// Discarding negation of a vector of LWE ciphertexts
/// Negation of a vector of LWE ciphertexts
///
/// # Safety
///
Expand All @@ -529,7 +529,7 @@ pub unsafe fn negate_lwe_ciphertext_vector_async<T: UnsignedInteger>(
);
}

/// Discarding assigned negation of a vector of LWE ciphertexts
/// Assigned negation of a vector of LWE ciphertexts
///
/// # Safety
///
Expand All @@ -552,7 +552,7 @@ pub unsafe fn negate_lwe_ciphertext_vector_assign_async<T: UnsignedInteger>(
}

#[allow(clippy::too_many_arguments)]
/// Discarding assign negation of a vector of LWE ciphertexts representing an integer
/// Assign negation of a vector of LWE ciphertexts representing an integer
///
/// # Safety
///
Expand Down

0 comments on commit 706239b

Please sign in to comment.