Skip to main content

template <typename Instruction>
using record_type_for_t = utils::type_switch_t<
    Instruction,
    clone_collective_group_instruction(
        clone_collective_group_instruction_record),
    alloc_instruction(alloc_instruction_record),
    free_instruction(free_instruction_record),
    copy_instruction(copy_instruction_record),
    device_kernel_instruction(
        device_kernel_instruction_record),
    host_task_instruction(
        host_task_instruction_record),
    send_instruction(send_instruction_record),
    receive_instruction(
        receive_instruction_record),
    split_receive_instruction(
        split_receive_instruction_record),
    await_receive_instruction(
        await_receive_instruction_record),
    gather_receive_instruction(
        gather_receive_instruction_record),
    fill_identity_instruction(
        fill_identity_instruction_record),
    reduce_instruction(reduce_instruction_record),
    fence_instruction(fence_instruction_record),
    destroy_host_object_instruction(
        destroy_host_object_instruction_record),
    horizon_instruction(
        horizon_instruction_record),
    epoch_instruction(epoch_instruction_record)>;

Description

Maps instruction DAG types to their record type.

Template Parameters

Instruction