mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 22:57:59 -05:00
18 lines
726 B
C
18 lines
726 B
C
#ifndef CUDA_RADIX_CIPHERTEXT_H
|
|
#define CUDA_RADIX_CIPHERTEXT_H
|
|
|
|
void release_radix_ciphertext_async(cudaStream_t const stream,
|
|
uint32_t const gpu_index,
|
|
CudaRadixCiphertextFFI *data,
|
|
const bool gpu_memory_allocated);
|
|
|
|
void release_cpu_radix_ciphertext_async(CudaRadixCiphertextFFI *data);
|
|
|
|
void reset_radix_ciphertext_blocks(CudaRadixCiphertextFFI *data,
|
|
uint32_t new_num_blocks);
|
|
|
|
void into_radix_ciphertext(CudaRadixCiphertextFFI *radix, void *lwe_array,
|
|
const uint32_t num_radix_blocks,
|
|
const uint32_t lwe_dimension);
|
|
#endif
|