Lines Matching refs:hal
57 virtual std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> execute(
62 hal::MeasureTiming measure, const std::optional<Deadline>& deadline,
63 const hal::OptionalTimeoutDuration& loopTimeoutDuration) const = 0;
68 virtual std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing> executeFenced(
72 hal::MeasureTiming measure, const std::optional<Deadline>& deadline,
73 const hal::OptionalTimeoutDuration& loopTimeoutDuration,
74 const hal::OptionalTimeoutDuration& timeoutDurationAfterFence) const = 0;
93 virtual const std::vector<hal::Extension>& getSupportedExtensions() const = 0;
98 virtual hal::PerformanceInfo getPerformance(hal::OperandType type) const = 0;
99 virtual hal::PerformanceInfo getRelaxedFloat32toFloat16PerformanceScalar() const = 0;
100 virtual hal::PerformanceInfo getRelaxedFloat32toFloat16PerformanceTensor() const = 0;
101 virtual hal::PerformanceInfo getIfPerformance() const = 0;
102 virtual hal::PerformanceInfo getWhilePerformance() const = 0;
107 const hal::ModelFactory& makeModel, hal::ExecutionPreference preference,
108 hal::Priority priority, const std::optional<Deadline>& deadline,
110 const std::optional<hal::CacheToken>& maybeToken) const = 0;
115 hal::OperandType type) const = 0;
171 void forTest_registerDevice(const std::string& name, const sp<hal::V1_0::IDevice>& device) { in forTest_registerDevice()
172 const hal::DeviceFactory makeDevice = [device](bool /*blocking*/) { return device; }; in forTest_registerDevice()
185 const sp<hal::V1_0::IDevice>& device);
196 void registerDevice(const std::string& name, const hal::DeviceFactory& makeDevice);