mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
33 lines
1.6 KiB
C++
33 lines
1.6 KiB
C++
#ifndef CUDA_LINALG_H_
|
|
#define CUDA_LINALG_H_
|
|
|
|
#include <cstdint>
|
|
|
|
extern "C" {
|
|
|
|
void cuda_negate_lwe_ciphertext_vector_32(void *v_stream, uint32_t gpu_index,
|
|
void *lwe_array_out,
|
|
void *lwe_array_in,
|
|
uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_negate_lwe_ciphertext_vector_64(void *v_stream, uint32_t gpu_index,
|
|
void *lwe_array_out,
|
|
void *lwe_array_in,
|
|
uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_add_lwe_ciphertext_vector_32(void *v_stream, uint32_t gpu_index,
|
|
void *lwe_array_out,
|
|
void *lwe_array_in_1,
|
|
void *lwe_array_in_2,
|
|
uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_add_lwe_ciphertext_vector_64(void *v_stream, uint32_t gpu_index,
|
|
void *lwe_array_out,
|
|
void *lwe_array_in_1,
|
|
void *lwe_array_in_2,
|
|
uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
}
|
|
|
|
#endif // CUDA_LINALG_H_
|