• Paul Fultz II's avatar
    Enable eval to handle multiple contexts (#1751) · 072fd5cc
    Paul Fultz II authored
    This is to help enable multi-target execution. We store a vector of targets and contexts. Currently this will only compile a single target, the PR #1672 is needed to enable multiple targets.
    
    This will also serialize the targets and contexts.
    
    When using the execution_environment or prog.get_context() it will always use the context from the first target assuming this is the "primary" target. Although, its unlikely a user would use execution_environment with a multi-target environment.
    072fd5cc
validate.cpp 2.83 KB