mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
20 lines
631 B
C++
20 lines
631 B
C++
#ifndef CNCRT_KS_H_
|
|
#define CNCRT_KS_H_
|
|
|
|
#include <cstdint>
|
|
|
|
extern "C" {
|
|
|
|
void cuda_keyswitch_lwe_ciphertext_vector_32(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *ksk, uint32_t lwe_dimension_in, uint32_t lwe_dimension_out,
|
|
uint32_t base_log, uint32_t level_count, uint32_t num_samples);
|
|
|
|
void cuda_keyswitch_lwe_ciphertext_vector_64(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *ksk, uint32_t lwe_dimension_in, uint32_t lwe_dimension_out,
|
|
uint32_t base_log, uint32_t level_count, uint32_t num_samples);
|
|
}
|
|
|
|
#endif // CNCRT_KS_H_
|