@Vengineerの戯言 : Twitter
SystemVerilogの世界へようこそ、すべては、SystemC v0.9公開から始まった
AI Benchmark の新しい論文を読んで、ちょっと気になったので、記録として。
Neural Networks API (NNAPI) vendor extensions, introduced in Android 10, are collections of vendor-defined operations and data types. On devices running NN HAL 1.2 or higher, drivers can provide custom hardware-accelerated operations by supporting corresponding vendor extensions. Vendor extensions don't modify the behavior of existing operations.
既存のシステムに影響を与えることなしに、拡張できるんだって。
サンプルコードは、FibonacciExtension.h
そんでもって、Android.bp には、
cc_library_headers {
name: "neuralnetworks_example_fibonacci_extension",
host_supported: false,
vendor_available: true,
export_include_dirs: ["."],
}
を書けばいい?
nn/runtime/include/NeuralNetworksExtensions.h の中の、APIを使えばいいと。。