mirror of
https://github.com/tig-pool-nk/tig-monorepo.git
synced 2026-02-21 11:29:31 +08:00
Expose max_distance as pub field.
This commit is contained in:
parent
c2b4191c1a
commit
bef4043b00
@ -52,10 +52,7 @@ pub struct Challenge {
|
||||
pub database_size: u32,
|
||||
pub d_database_vectors: CudaSlice<f32>,
|
||||
pub d_query_vectors: CudaSlice<f32>,
|
||||
#[cfg(not(feature = "hide_verification"))]
|
||||
pub max_distance: f32,
|
||||
#[cfg(feature = "hide_verification")]
|
||||
max_distance: f32,
|
||||
}
|
||||
|
||||
pub const MAX_THREADS_PER_BLOCK: u32 = 1024;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user