NpuCompatibilityChecker

interface NpuCompatibilityChecker

An interface to checks if the device is compatible with NPU.

Developers can implement this interface to provide their own compatibility check logic, if the default logic is not sufficient.

Summary

Public companion properties

NpuCompatibilityChecker

Default NPU compatibility checker for all vendors.

NpuCompatibilityChecker

Google Tensor NPU compatibility checker.

NpuCompatibilityChecker

Mediatek NPU compatibility checker.

NpuCompatibilityChecker

Qualcomm NPU compatibility checker.

Public functions

Boolean

Public companion properties

Default

val DefaultNpuCompatibilityChecker

Default NPU compatibility checker for all vendors.

GoogleTensor

val GoogleTensorNpuCompatibilityChecker

Google Tensor NPU compatibility checker.

Mediatek

val MediatekNpuCompatibilityChecker

Mediatek NPU compatibility checker.

Qualcomm

val QualcommNpuCompatibilityChecker

Qualcomm NPU compatibility checker.

Public functions

isDeviceSupported

fun isDeviceSupported(): Boolean