Skip to content

Refactor add_item to infer kernel inputs from the graph instead of explicitly adding them. #6

@cianciosa

Description

@cianciosa

Currently framework users must explicitly pass the input variables and random state needed by a kernel. This could be inferred from the graph it self. It is currently not performed this way because historical reasons. compile_preamble methods could be refactored to collect unique input nodes needed. These can be fed to the create_kernel_prefix in the gpu backends to build the kernel argument signatures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions