MCPcopy Create free account

hub / github.com/a9876543245/DEEPFOLD-SOLVER / functions

Functions770 in github.com/a9876543245/DEEPFOLD-SOLVER

↓ 3 callersFunctiongetSpotsByMatchup
(matchupIdx: number)
src/lib/presolvedSpots.ts:550
↓ 3 callersFunctiongetStreetActions
(street: 'flop' | 'turn' | 'river')
src/App.tsx:852
↓ 3 callersFunctionhsum256
--------------------------------------------------------------------------- hsum256 — copied from cpu_kernels_avx2.cpp so the micro-bench matches the
core/tests/bench_showdown_encoding.cpp:67
↓ 3 callersFunctionhumanizeSeconds
(s: number)
src/components/SolveEtaBanner.tsx:25
↓ 3 callersMethodindex
Get a unique index in [0, 1325] for this combo Formula: index = c2*(c2-1)/2 + c1 (where c1 < c2)
core/include/card.h:104
↓ 3 callersFunctionjoin_floats
(v: &[f64])
src-tauri/src/engine.rs:268
↓ 3 callersFunctionmake_test_config
core/tests/test_gpu_postsolve.cpp:63
↓ 3 callersMethodname
core/include/cpu_backend.h:102
↓ 3 callersFunctionops_per_solve_iteration
core/include/memory_budget.h:236
↓ 3 callersFunctionparseCard
Parse "2s" into {rank:0, suit:'s'}. Returns nulls if invalid.
src/lib/aggregateRunouts.ts:47
↓ 3 callersFunctionparseStackFromFormat
(st: string)
src/components/GameContextSelector.tsx:92
↓ 3 callersFunctionrange_floats
Range-clamped payload for inputs feeding into reductions. No 1e6 spikes (which would invalidate dot-product comparisons due to FP non-associativity ra
core/tests/test_cpu_kernels.cpp:149
↓ 3 callersFunctionremoveCard
(index: number)
src/components/BoardSelector.tsx:51
↓ 3 callersFunctionrenderCard
(card: string, idx: number)
src/App.tsx:869
↓ 3 callersFunctionresolve_cpu_threads
* @brief All precomputed inputs a backend needs to run DCFR. * * All pointers are borrowed: the Solver orchestrator owns the underlying data * and
core/include/solver_backend.h:103
↓ 3 callersFunctionshowdown_a2
core/tests/bench_showdown_encoding.cpp:145
↓ 3 callersFunctionshowdown_active_singleton_precomputed
core/include/showdown_rank_blocker.h:311
↓ 3 callersFunctionshowdown_baseline
--------------------------------------------------------------------------- Baseline kernel — bit-identical to the production showdown_oop_full body.
core/tests/bench_showdown_encoding.cpp:81
↓ 3 callersFunctionshowdown_dense_singleton
core/include/showdown_rank_blocker.h:360
↓ 3 callersFunctionshowdown_dense_singleton_precomputed
core/include/showdown_rank_blocker.h:269
↓ 3 callersFunctionshowdown_oop_full_batch
core/include/cpu_simd.h:592
↓ 3 callersFunctionshowdown_signed_zero_rake
--------------------------------------------------------------------------- Signed-valid zero-rake kernel. Exact only when tie payoff is zero and lose
core/tests/bench_showdown_encoding.cpp:213
↓ 3 callersFunctionstreetActionSummary
(actions: string[])
src/App.tsx:896
↓ 3 callersFunctionvec_add_in_place
core/include/cpu_simd.h:334
↓ 3 callersFunctionvec_axpy
core/include/cpu_simd.h:337
↓ 3 callersFunctionvec_dcfr_discount
core/include/cpu_simd.h:343
↓ 3 callersFunctionvec_fmadd
core/include/cpu_simd.h:340
↓ 3 callersFunctionvec_pos_add
core/include/cpu_simd.h:346
↓ 3 callersFunctionvec_pos_normalize
core/include/cpu_simd.h:349
↓ 3 callersFunctionvec_reach_weighted_strat_sum
core/include/cpu_simd.h:369
↓ 3 callersFunctionvec_regret_update
core/include/cpu_simd.h:361
↓ 2 callersFunctionactionColor
(action: string)
src/components/GtoChartBrowser.tsx:101
↓ 2 callersFunctionactive_lane_blocks_from_active
core/tests/test_cpu_kernels.cpp:991
↓ 2 callersFunctionaggregateTurns
( tree: Record<string, StrategyTreeEntry> | undefined, flopHistory: string, )
src/lib/aggregateRunouts.ts:90
↓ 2 callersFunctionaggressiveScore
Returns total frequency of "aggressive" actions (Bet_*, Raise*, All-in) * for ranking. Folds/Checks/Calls don't count. Used by `sortAggregates`.
src/lib/aggregateRunouts.ts:320
↓ 2 callersMethodbackend_name
Name of the active backend (for logging / UI indicator)
core/include/solver.h:388
↓ 2 callersFunctionbudget_decision_str
core/include/memory_budget.h:362
↓ 2 callersFunctionbuildPlan
* One spot to solve. Filename is the cache key; mirrors §6.4 "Phase 1 spot ID * scheme" of PRESOLVE_BUNDLE_PLAN.md.
scripts/bulk-presolve.mjs:150
↓ 2 callersFunctionbuild_prefixes
core/include/showdown_rank_blocker.h:134
↓ 2 callersFunctionbuild_solver_args
v1.2.2: build the CLI argv vector for `deepsolver_core` from a SolverRequest. Extracted from `try_run_solver` so the estimate-only path (`run_estimate
src-tauri/src/engine.rs:221
↓ 2 callersFunctionbytes_for_cpu_state
Bytes for the CPU CFR state. Counts regrets + strategy_sum + current_strategy (three arrays). action_values is a transient stack-allocated vector in C
core/include/memory_budget.h:157
↓ 2 callersFunctionbytes_for_gpu_state
Bytes for the GPU CFR state. Lives in VRAM. Includes: - regrets, strategy_sum, current_strategy, action_values: each N×A×nc floats - reach_scratch_oop
core/include/memory_budget.h:187
↓ 2 callersFunctionbytes_for_levelized_cpu_extra
v1.7.0: extra heap held by the levelized CPU backend on top of the reference state. LevelizedCpuBackend allocates three flat [N × nc] float buffers —
core/include/memory_budget.h:178
↓ 2 callersFunctionbytes_for_strategy_tree_ev_cache
Bytes for the strategy-tree EV cache. The current implementation stores `<node_id, vector<float>>` for every visited inner node × 2 perspectives (OOP-
core/include/memory_budget.h:198
↓ 2 callersFunctionchartHeroFor
Map our MATCHUPS positions to chart hero_position labels. They differ * for one role: our "MP" is the same seat as the dataset's "HJ" in * 6-hande
src/hooks/useGtoAutoRange.ts:35
↓ 2 callersFunctionchartToInRange
Combine all non-fold actions in a chart into a single in-range string. * Mirrors the helper in GtoChartBrowser but available standalone here.
src/hooks/useGtoAutoRange.ts:224
↓ 2 callersFunctioncheckAccess
Check if the user has PRO solver access
src/lib/auth.ts:200
↓ 2 callersFunctioncleanup
()
src/lib/auth.ts:73
↓ 2 callersFunctionclearSession
()
src/lib/auth.ts:261
↓ 2 callersFunctioncombo_value
core/include/fold_blocker.h:136
↓ 2 callersFunctioncombo_value
core/include/showdown_rank_blocker.h:204
↓ 2 callersFunctioncombo_value_no_tie
core/include/showdown_rank_blocker.h:239
↓ 2 callersMethodcompute_best_response_gpu
Per-combo best-response value at root for the given player (0 = OOP, 1 = IP). Empty on backends that don't support GPU postsolve.
core/include/solver_backend.h:257
↓ 2 callersFunctioncontextualStrategy
(strength: number, idx: number)
src/lib/presolvedSpots.ts:119
↓ 2 callersFunctioncountRangeCombos
(rangeStr: string)
src/lib/ranges.ts:240
↓ 2 callersFunctioncreateDrillSession
(count: number = 10)
src/lib/drill.ts:162
↓ 2 callersFunctioncuda_compute_capability
Returns CUDA compute capability of device 0 as `major*10 + minor` (e.g. 89 for Ada, 61 for Pascal, 120 for Blackwell). Returns 0 when no CUDA device i
core/src/backend_factory.cpp:93
↓ 2 callersFunctioncuda_gpu_reject_reason
Why was the CUDA backend skipped? Returns an empty string when the GPU IS usable (caller should not surface anything in that case). Otherwise returns
core/src/backend_factory.cpp:106
↓ 2 callersFunctionderivePotStack
( matchup: PositionMatchup, effectiveBB: number, )
src/lib/ranges.ts:59
↓ 2 callersFunctionderive_categories
core/tests/test_cpu_kernels.cpp:925
↓ 2 callersFunctionderive_signed_coeff
core/tests/test_cpu_kernels.cpp:935
↓ 2 callersFunctionderive_signed_count
core/tests/test_cpu_kernels.cpp:947
↓ 2 callersFunctiondescribe_cuda_gpu
core/src/backend_factory.cpp:75
↓ 2 callersFunctiondetect_avx2_support
core/src/cpu_kernels_dispatch.cpp:70
↓ 2 callersFunctiondominantAction
( strategy: Record<string, string> | undefined, )
src/lib/aggregateRunouts.ts:134
↓ 2 callersFunctiondot_valid_reach_active
core/include/cpu_simd.h:393
↓ 2 callersFunctionestimate_solve_seconds
core/include/memory_budget.h:331
↓ 2 callersFunctionevaluate_budget
Decide whether the planned solve fits the budget. Order of severity (returned first wins): GPU > matchup > host total > strategy tree > JSON. We retu
core/include/memory_budget.h:379
↓ 2 callersFunctionextractArray
(srcPath, name)
scripts/patch-mono-failures.mjs:71
↓ 2 callersFunctionextractArray
* Pull a top-level `export const NAME ... = [ ... ];` block out of a TS file * and `eval` the array body as JS. Works because object/array literals a
scripts/bulk-presolve.mjs:115
↓ 2 callersMethodfinalize
core/include/cpu_backend.h:1075
↓ 2 callersFunctionfindBestChart
Find the best chart in `scenarios` matching (folder, position, scenario, * effective_bb). Tries the scenario candidates in order; first folder+posit
src/hooks/useGtoAutoRange.ts:76
↓ 2 callersFunctionfind_gto_root
Locate the bundled `gto_output/` directory. Search order — covers every layout we care about: 1. `<exe>/resources/gto_output/` Tauri 2 production wit
src-tauri/src/gto_charts.rs:84
↓ 2 callersFunctionfold_dense_precomputed
core/include/fold_blocker.h:158
↓ 2 callersFunctionfold_ip_step
core/include/cpu_simd.h:407
↓ 2 callersFunctionforcesAllIn
Mirrors backend should_force_allin: if committing this bet leaves SPR * below threshold after opponent calls, the backend collapses the sizing * i
src/lib/gameTree.ts:161
↓ 2 callersFunctionformatEv
Format an EV value for cell display. Signed; keep 1 decimal below 100 so * close mixes stay comparable (the old >=10 branch rounded 24.3 -> "24", *
src/components/RangeGrid.tsx:81
↓ 2 callersFunctionformat_budget_failure
Build a human-readable diagnostic line. Shape matches the format the CLI's error JSON expects so the message can be embedded directly: "Matchup preco
core/include/memory_budget.h:409
↓ 2 callersFunctiongenerateComboStrategies
( board: string, heroRangeStr: string, )
src/lib/presolvedSpots.ts:160
↓ 2 callersFunctiongetBetSizes
* Get bet sizes for the current street.
src/lib/gameTree.ts:127
↓ 2 callersFunctiongetBundledOrDemo
( matchupIdx: number, boardIdx: number, sizingKey: string = 'standard', stackLabel: string = 'default'
src/lib/presolvedSpots.ts:454
↓ 2 callersFunctiongetPresolvedSpot
( matchupIdx: number, boardIdx: number, )
src/lib/presolvedSpots.ts:483
↓ 2 callersFunctiongetSuitColor
(suit: string)
src/components/DrillMode.tsx:41
↓ 2 callersFunctionheatmapColor
Generate heatmap color for a single action frequency
src/components/RangeGrid.tsx:133
↓ 2 callersFunctionisGpuOom
(msg: string)
src/hooks/useSolver.ts:299
↓ 2 callersFunctionisRealSolverAvailable
()
src/lib/presolvedSpots.ts:111
↓ 2 callersFunctionmake_reach
core/tests/bench_showdown_encoding.cpp:281
↓ 2 callersFunctionmake_table
core/tests/bench_showdown_encoding.cpp:250
↓ 2 callersFunctionmode_label
core/src/cpu_kernels_dispatch.cpp:140
↓ 2 callersFunctionparseBoardCards
Parse board string into individual card strings
src/components/TurnRiverCardSelector.tsx:24
↓ 2 callersFunctionparseRangeText
Parse simple range text: supports "AA,AKs,KK" and "AA:1.0,AKs:0.5"
src/components/RangeEditorModal.tsx:24
↓ 2 callersFunctionpopcount13
Count how many bits are set in the lower 13 bits
core/src/hand_evaluator.cpp:58
↓ 2 callersFunctionpopulate_matchup_category_diagnostics
core/include/types.h:482
↓ 2 callersFunctionrandom_url_safe_b64
Base64url (no padding) of N random bytes. Length of output is ~ceil(4N/3).
src-tauri/src/oauth.rs:122
↓ 2 callersFunctionrangePercentage
(rangeStr: string)
src/lib/ranges.ts:253
↓ 2 callersFunctionrenderPlaceholder
()
src/App.tsx:887
↓ 2 callersMethodreset_for_iter
core/include/cpu_backend.h:68
↓ 2 callersFunctionrun_solver
Run the solver engine with the given request, with automatic GPU→CPU fallback. Behavior: - If `request.backend` is "cpu" (or unset in a CPU-only cont
src-tauri/src/engine.rs:160
↓ 2 callersFunctionscenarioCandidates
For a (potType, side) combination, return scenario_type names ranked * by how well they fit. The first match found in the bundled charts wins. * M
src/hooks/useGtoAutoRange.ts:52
↓ 2 callersMethodset_memory_policy
Phase 2 (10-point plan): callers can hand in the canonical-combo count and a memory budget so the runout-enumeration gate is byte-based instead of an
core/include/game_tree_builder.h:70
← previousnext →101–200 of 770, ranked by callers