struct pot::AotiPackageTarget

Overview

The fields of an AOTInductor package that name the hardware it targets. More…

#include <gpr/potentials/AotiPackageIsa.h>
 
struct AotiPackageTarget {
    // fields
 
    bool metadata_found = false;
    std::string device;
    std::vector<std::string> cpu_isa;
};

Detailed Documentation

The fields of an AOTInductor package that name the hardware it targets.

Fields

bool metadata_found = false

any *_metadata.json entry read

std::string device

AOTI_DEVICE_KEY, e.g. “cpu” or “cuda”.

std::vector<std::string> cpu_isa

AOTI_CPU_ISA tokens, upper case.