mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
feat(cuda): add NOT and AND gates to the library
This commit is contained in:
24
include/boolean_gates.h
Normal file
24
include/boolean_gates.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef CUDA_BOOLEAN_GATES_H
|
||||
#define CUDA_BOOLEAN_GATES_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
|
||||
void cuda_boolean_not_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_boolean_and_32(void *v_stream, uint32_t gpu_index,
|
||||
void *lwe_array_out, void *lwe_array_in_1,
|
||||
void *lwe_array_in_2, void *bootstrapping_key,
|
||||
void *ksk, uint32_t input_lwe_dimension,
|
||||
uint32_t glwe_dimension, uint32_t polynomial_size,
|
||||
uint32_t pbs_base_log, uint32_t pbs_level_count,
|
||||
uint32_t ks_base_log, uint32_t ks_level_count,
|
||||
uint32_t input_lwe_ciphertext_count,
|
||||
uint32_t max_shared_memory);
|
||||
}
|
||||
|
||||
#endif // CUDA_BOOLAN_GATES_H
|
||||
Reference in New Issue
Block a user