ml_switcheroo.frameworks.rdna¶
AMD RDNA / GCN Framework Adapter.
Provides metadata and configuration for the RDNA compiler stack. This adapter acts as a metadata container for the Compiler Registry, identifying RDNA as a target language and providing static definitions.
- Migration Note:
Legacy shim classes (PythonToRdnaEmitter, RdnaToPythonParser) have been removed. Routing now occurs via compiler.registry.
Classes¶
Adapter for AMD RDNA. |
Module Contents¶
- class ml_switcheroo.frameworks.rdna.RdnaAdapter(target_arch: str = 'gfx1030')[source]¶
Bases:
ml_switcheroo.frameworks.base.FrameworkAdapterAdapter for AMD RDNA.
- display_name: str = 'AMD RDNA'¶
- inherits_from: str | None = None¶
- ui_priority: int = 151¶
- target_arch = 'gfx1030'¶
- property search_modules: List[str]¶
- property unsafe_submodules: Set[str]¶
- property import_alias: Tuple[str, str]¶
- property import_namespaces: Dict[str, ml_switcheroo.frameworks.base.ImportConfig]¶
- property discovery_heuristics: Dict[str, List[str]]¶
- property test_config: Dict[str, str]¶
- property harness_imports: List[str]¶
- property supported_tiers: List[ml_switcheroo.enums.SemanticTier]¶
- property declared_magic_args: List[str]¶
- property structural_traits: ml_switcheroo.semantics.schema.StructuralTraits¶
- property plugin_traits: ml_switcheroo.semantics.schema.PluginTraits¶
- property definitions: Dict[str, ml_switcheroo.frameworks.base.StandardMap]¶
- property specifications: Dict[str, ml_switcheroo.frameworks.base.OperationDef]¶
- property rng_seed_methods: List[str]¶
- collect_api(category: ml_switcheroo.frameworks.base.StandardCategory) List[ml_switcheroo.core.ghost.GhostRef][source]¶