Skip to content

Gpu cpu parameter#714

Merged
ocots merged 4 commits intodevelopfrom
gpu_cpu_parameter
Mar 6, 2026
Merged

Gpu cpu parameter#714
ocots merged 4 commits intodevelopfrom
gpu_cpu_parameter

Conversation

@ocots
Copy link
Member

@ocots ocots commented Mar 6, 2026

No description provided.

ocots added 2 commits March 6, 2026 14:03
- Add full GPU/CPU parameter support to methods() returning 4-tuples
- Implement complete strategy builders with ResolvedMethod support
- Enhance registry with parameter-aware strategy mapping
- Add comprehensive test coverage (422 tests total):
  * Component Checks: 26 tests
  * Component Completion: 29 tests
  * Descriptive Routing: 75 tests
  * Kwarg Extraction: 59 tests
  * Methods: 39 tests
  * Print: 46 tests
  * Registry: 65 tests
  * Strategy Builders: 83 tests
- Fix all test failures and ensure 100% pass rate
- Add proper dependency handling for strategy building
- Support both provided and build paths for strategy construction
- Add tests for is_parameter_type, available_parameters, get_parameter_type
- Improve test_registry.jl with parameter validation using CTSolvers functions
- Enhance test_dispatch_logic.jl with parametric mocks for parameter testing
- Complete test_ctsolvers.jl coverage for all reexported symbols
- Fix comment in ctsolvers.jl imports (parameter types are import-only)
- Add missing tests for describe and options functions

All tests pass with comprehensive coverage of CTSolvers parameter validation
functions and proper verification of reexport vs import-only symbols.
- Remove MadNLPMumps import from test_canonical.jl (version conflicts)
- Remove MadNLPMumps import from test_explicit.jl (version conflicts)
- Update test_solve_modes.jl imports for consistency

All tests pass (1169/1169) with clean imports
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Breakage test results
Date: 2026-03-06 14:15:10

Name Latest Stable
OptimalControlProblems
Tutorials

- Add test_descriptive.jl for descriptive mode testing
  - Complete and partial symbolic descriptions
  - Integration tests with real strategies (Beam, Goddard)
  - Initial guess aliases (init)
  - Error handling for unknown strategies
- Add test_error_handling_simple.jl for robust error testing
  - Mode detection conflicts (explicit vs descriptive)
  - Invalid component types and arguments
  - Edge cases and boundary conditions
- Both test files include proper imports for solver extensions
- Tests provide comprehensive coverage of Layer 2 solve functionality
@ocots ocots merged commit 9f954b7 into develop Mar 6, 2026
15 of 17 checks passed
@ocots ocots deleted the gpu_cpu_parameter branch March 6, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant