mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(cuda): Add a conditional macro check to remove CUDA-specific
definitions when not needed.
This commit is contained in:
@@ -104,7 +104,7 @@ void cuda_cmux_tree_64(
|
||||
uint32_t max_shared_memory);
|
||||
};
|
||||
|
||||
|
||||
#ifdef __CUDACC__
|
||||
__device__ inline int get_start_ith_ggsw(int i, uint32_t polynomial_size,
|
||||
int glwe_dimension,
|
||||
uint32_t l_gadget);
|
||||
@@ -118,4 +118,6 @@ template <typename T>
|
||||
__device__ T*
|
||||
get_ith_body_kth_block(T *ptr, int i, int k, int level, uint32_t polynomial_size,
|
||||
int glwe_dimension, uint32_t l_gadget);
|
||||
#endif
|
||||
|
||||
#endif // CUDA_BOOTSTRAP_H
|
||||
|
||||
Reference in New Issue
Block a user