mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
49 lines
2.5 KiB
C++
49 lines
2.5 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);
|
|
void cuda_add_lwe_ciphertext_vector_plaintext_vector_32(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *plaintext_array_in, uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_add_lwe_ciphertext_vector_plaintext_vector_64(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *plaintext_array_in, uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_mult_lwe_ciphertext_vector_cleartext_vector_32(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *cleartext_array_in, uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
void cuda_mult_lwe_ciphertext_vector_cleartext_vector_64(
|
|
void *v_stream, uint32_t gpu_index, void *lwe_array_out, void *lwe_array_in,
|
|
void *cleartext_array_in, uint32_t input_lwe_dimension,
|
|
uint32_t input_lwe_ciphertext_count);
|
|
}
|
|
|
|
#endif // CUDA_LINALG_H_
|