kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
Loading...
Searching...
No Matches
kodama::KODAMAMatrixResult Struct Reference

#include <kodama.hpp>

Collaboration diagram for kodama::KODAMAMatrixResult:
[legend]

Public Attributes

std::vector< KODAMAStageTimingtimings
 
std::vector< double > acc
 
std::vector< double > v
 
std::vector< int > res
 
std::vector< int > res_constrain
 
std::vector< int > landmark_occupied_strata
 
std::vector< int > landmark_represented_strata
 
std::vector< int > landmark_grid_bins
 
std::vector< double > landmark_seconds
 
std::vector< double > coarse_partition_seconds
 
std::vector< double > landmark_sampling_seconds
 
std::vector< double > constraint_seconds
 
std::vector< double > landmark_prepare_seconds
 
std::vector< double > landmark_initialization_seconds
 
std::vector< double > landmark_graph_seconds
 
std::vector< double > core_evolution_seconds
 
std::vector< double > projection_seconds
 
std::vector< CoreRunDiagnosticrun_diagnostics
 
std::vector< CoreCycleDiagnosticcycle_diagnostics
 
NeighborGraph knn
 
VisualizationInitResult visual_init
 
int runs = 0
 
int samples = 0
 
int cycles = 0
 
int res_constrain_rows = 0
 
int effective_landmarks = 0
 
int graph_builds = 0
 
int spatial_graph_builds = 0
 
int n_threads = 1
 
Backend backend = Backend::CPU
 
Backend graph_backend = Backend::CPU
 
Backend optimization_backend = Backend::CPU
 
Backend dissimilarity_backend = Backend::CPU
 
KNNIndexType graph_index_type = KNNIndexType::NativeHNSW
 
int graph_ivf_nlist = 0
 
int graph_ivf_nprobe = 0
 
int shared_landmark_partition_strata = 0
 
double graph_ivf_pilot_recall = 0.0
 
bool has_visual_init = false
 
bool knn_is_kodama_corrected = false
 
bool gpu_auto_workers = false
 
bool gpu_scheduler_enabled = false
 
bool shared_landmark_partition_used = false
 
int gpu_scheduler_lanes = 0
 
std::uint64_t kmeans_input_uploads = 0
 
std::uint64_t projection_sparse_uploads = 0
 
std::uint64_t projection_full_downloads = 0
 
std::uint64_t result_row_uploads = 0
 
std::uint64_t result_matrix_downloads = 0
 
int gpu_sm_count = 0
 
double gpu_free_memory_mb = 0.0
 
double gpu_total_memory_mb = 0.0
 
double gpu_worker_memory_estimate_mb = 0.0
 
double runtime_seconds = 0.0
 
double input_copy_seconds = 0.0
 
double visual_init_seconds = 0.0
 
double graph_feature_seconds = 0.0
 
double spatial_precompute_seconds = 0.0
 
double graph_seconds = 0.0
 
double shared_landmark_partition_seconds = 0.0
 
double spatial_graph_seconds = 0.0
 
double optimization_wall_seconds = 0.0
 
double optimization_sum_seconds = 0.0
 
double dissimilarity_seconds = 0.0
 
double peak_memory_mb = 0.0
 
std::uint64_t graph_storage_bytes = 0
 

Detailed Description

Definition at line 593 of file kodama.hpp.

Member Data Documentation

◆ acc

std::vector<double> kodama::KODAMAMatrixResult::acc

Definition at line 595 of file kodama.hpp.

◆ backend

Backend kodama::KODAMAMatrixResult::backend = Backend::CPU

Definition at line 623 of file kodama.hpp.

◆ coarse_partition_seconds

std::vector<double> kodama::KODAMAMatrixResult::coarse_partition_seconds

Definition at line 603 of file kodama.hpp.

◆ constraint_seconds

std::vector<double> kodama::KODAMAMatrixResult::constraint_seconds

Definition at line 605 of file kodama.hpp.

◆ core_evolution_seconds

std::vector<double> kodama::KODAMAMatrixResult::core_evolution_seconds

Definition at line 609 of file kodama.hpp.

◆ cycle_diagnostics

std::vector<CoreCycleDiagnostic> kodama::KODAMAMatrixResult::cycle_diagnostics

Definition at line 612 of file kodama.hpp.

◆ cycles

int kodama::KODAMAMatrixResult::cycles = 0

Definition at line 617 of file kodama.hpp.

◆ dissimilarity_backend

Backend kodama::KODAMAMatrixResult::dissimilarity_backend = Backend::CPU

Definition at line 626 of file kodama.hpp.

◆ dissimilarity_seconds

double kodama::KODAMAMatrixResult::dissimilarity_seconds = 0.0

Definition at line 657 of file kodama.hpp.

◆ effective_landmarks

int kodama::KODAMAMatrixResult::effective_landmarks = 0

Definition at line 619 of file kodama.hpp.

◆ gpu_auto_workers

bool kodama::KODAMAMatrixResult::gpu_auto_workers = false

Definition at line 634 of file kodama.hpp.

◆ gpu_free_memory_mb

double kodama::KODAMAMatrixResult::gpu_free_memory_mb = 0.0

Definition at line 644 of file kodama.hpp.

◆ gpu_scheduler_enabled

bool kodama::KODAMAMatrixResult::gpu_scheduler_enabled = false

Definition at line 635 of file kodama.hpp.

◆ gpu_scheduler_lanes

int kodama::KODAMAMatrixResult::gpu_scheduler_lanes = 0

Definition at line 637 of file kodama.hpp.

◆ gpu_sm_count

int kodama::KODAMAMatrixResult::gpu_sm_count = 0

Definition at line 643 of file kodama.hpp.

◆ gpu_total_memory_mb

double kodama::KODAMAMatrixResult::gpu_total_memory_mb = 0.0

Definition at line 645 of file kodama.hpp.

◆ gpu_worker_memory_estimate_mb

double kodama::KODAMAMatrixResult::gpu_worker_memory_estimate_mb = 0.0

Definition at line 646 of file kodama.hpp.

◆ graph_backend

Backend kodama::KODAMAMatrixResult::graph_backend = Backend::CPU

Definition at line 624 of file kodama.hpp.

◆ graph_builds

int kodama::KODAMAMatrixResult::graph_builds = 0

Definition at line 620 of file kodama.hpp.

◆ graph_feature_seconds

double kodama::KODAMAMatrixResult::graph_feature_seconds = 0.0

Definition at line 650 of file kodama.hpp.

◆ graph_index_type

KNNIndexType kodama::KODAMAMatrixResult::graph_index_type = KNNIndexType::NativeHNSW

Definition at line 627 of file kodama.hpp.

◆ graph_ivf_nlist

int kodama::KODAMAMatrixResult::graph_ivf_nlist = 0

Definition at line 628 of file kodama.hpp.

◆ graph_ivf_nprobe

int kodama::KODAMAMatrixResult::graph_ivf_nprobe = 0

Definition at line 629 of file kodama.hpp.

◆ graph_ivf_pilot_recall

double kodama::KODAMAMatrixResult::graph_ivf_pilot_recall = 0.0

Definition at line 631 of file kodama.hpp.

◆ graph_seconds

double kodama::KODAMAMatrixResult::graph_seconds = 0.0

Definition at line 652 of file kodama.hpp.

◆ graph_storage_bytes

std::uint64_t kodama::KODAMAMatrixResult::graph_storage_bytes = 0

Definition at line 659 of file kodama.hpp.

◆ has_visual_init

bool kodama::KODAMAMatrixResult::has_visual_init = false

Definition at line 632 of file kodama.hpp.

◆ input_copy_seconds

double kodama::KODAMAMatrixResult::input_copy_seconds = 0.0

Definition at line 648 of file kodama.hpp.

◆ kmeans_input_uploads

std::uint64_t kodama::KODAMAMatrixResult::kmeans_input_uploads = 0

Definition at line 638 of file kodama.hpp.

◆ knn

NeighborGraph kodama::KODAMAMatrixResult::knn

Definition at line 613 of file kodama.hpp.

◆ knn_is_kodama_corrected

bool kodama::KODAMAMatrixResult::knn_is_kodama_corrected = false

Definition at line 633 of file kodama.hpp.

◆ landmark_graph_seconds

std::vector<double> kodama::KODAMAMatrixResult::landmark_graph_seconds

Definition at line 608 of file kodama.hpp.

◆ landmark_grid_bins

std::vector<int> kodama::KODAMAMatrixResult::landmark_grid_bins

Definition at line 601 of file kodama.hpp.

◆ landmark_initialization_seconds

std::vector<double> kodama::KODAMAMatrixResult::landmark_initialization_seconds

Definition at line 607 of file kodama.hpp.

◆ landmark_occupied_strata

std::vector<int> kodama::KODAMAMatrixResult::landmark_occupied_strata

Definition at line 599 of file kodama.hpp.

◆ landmark_prepare_seconds

std::vector<double> kodama::KODAMAMatrixResult::landmark_prepare_seconds

Definition at line 606 of file kodama.hpp.

◆ landmark_represented_strata

std::vector<int> kodama::KODAMAMatrixResult::landmark_represented_strata

Definition at line 600 of file kodama.hpp.

◆ landmark_sampling_seconds

std::vector<double> kodama::KODAMAMatrixResult::landmark_sampling_seconds

Definition at line 604 of file kodama.hpp.

◆ landmark_seconds

std::vector<double> kodama::KODAMAMatrixResult::landmark_seconds

Definition at line 602 of file kodama.hpp.

◆ n_threads

int kodama::KODAMAMatrixResult::n_threads = 1

Definition at line 622 of file kodama.hpp.

◆ optimization_backend

Backend kodama::KODAMAMatrixResult::optimization_backend = Backend::CPU

Definition at line 625 of file kodama.hpp.

◆ optimization_sum_seconds

double kodama::KODAMAMatrixResult::optimization_sum_seconds = 0.0

Definition at line 656 of file kodama.hpp.

◆ optimization_wall_seconds

double kodama::KODAMAMatrixResult::optimization_wall_seconds = 0.0

Definition at line 655 of file kodama.hpp.

◆ peak_memory_mb

double kodama::KODAMAMatrixResult::peak_memory_mb = 0.0

Definition at line 658 of file kodama.hpp.

◆ projection_full_downloads

std::uint64_t kodama::KODAMAMatrixResult::projection_full_downloads = 0

Definition at line 640 of file kodama.hpp.

◆ projection_seconds

std::vector<double> kodama::KODAMAMatrixResult::projection_seconds

Definition at line 610 of file kodama.hpp.

◆ projection_sparse_uploads

std::uint64_t kodama::KODAMAMatrixResult::projection_sparse_uploads = 0

Definition at line 639 of file kodama.hpp.

◆ res

std::vector<int> kodama::KODAMAMatrixResult::res

Definition at line 597 of file kodama.hpp.

◆ res_constrain

std::vector<int> kodama::KODAMAMatrixResult::res_constrain

Definition at line 598 of file kodama.hpp.

◆ res_constrain_rows

int kodama::KODAMAMatrixResult::res_constrain_rows = 0

Definition at line 618 of file kodama.hpp.

◆ result_matrix_downloads

std::uint64_t kodama::KODAMAMatrixResult::result_matrix_downloads = 0

Definition at line 642 of file kodama.hpp.

◆ result_row_uploads

std::uint64_t kodama::KODAMAMatrixResult::result_row_uploads = 0

Definition at line 641 of file kodama.hpp.

◆ run_diagnostics

std::vector<CoreRunDiagnostic> kodama::KODAMAMatrixResult::run_diagnostics

Definition at line 611 of file kodama.hpp.

◆ runs

int kodama::KODAMAMatrixResult::runs = 0

Definition at line 615 of file kodama.hpp.

◆ runtime_seconds

double kodama::KODAMAMatrixResult::runtime_seconds = 0.0

Definition at line 647 of file kodama.hpp.

◆ samples

int kodama::KODAMAMatrixResult::samples = 0

Definition at line 616 of file kodama.hpp.

◆ shared_landmark_partition_seconds

double kodama::KODAMAMatrixResult::shared_landmark_partition_seconds = 0.0

Definition at line 653 of file kodama.hpp.

◆ shared_landmark_partition_strata

int kodama::KODAMAMatrixResult::shared_landmark_partition_strata = 0

Definition at line 630 of file kodama.hpp.

◆ shared_landmark_partition_used

bool kodama::KODAMAMatrixResult::shared_landmark_partition_used = false

Definition at line 636 of file kodama.hpp.

◆ spatial_graph_builds

int kodama::KODAMAMatrixResult::spatial_graph_builds = 0

Definition at line 621 of file kodama.hpp.

◆ spatial_graph_seconds

double kodama::KODAMAMatrixResult::spatial_graph_seconds = 0.0

Definition at line 654 of file kodama.hpp.

◆ spatial_precompute_seconds

double kodama::KODAMAMatrixResult::spatial_precompute_seconds = 0.0

Definition at line 651 of file kodama.hpp.

◆ timings

std::vector<KODAMAStageTiming> kodama::KODAMAMatrixResult::timings

Definition at line 594 of file kodama.hpp.

◆ v

std::vector<double> kodama::KODAMAMatrixResult::v

Definition at line 596 of file kodama.hpp.

◆ visual_init

VisualizationInitResult kodama::KODAMAMatrixResult::visual_init

Definition at line 614 of file kodama.hpp.

◆ visual_init_seconds

double kodama::KODAMAMatrixResult::visual_init_seconds = 0.0

Definition at line 649 of file kodama.hpp.


The documentation for this struct was generated from the following file: