A schematic similar to the Android framework
Could you describe your question in more detail as I don’t understand the reference to Android?
Thanks for the reply. Specifically, for example, in the android framework, the java api layer can call the native c/c++ layer, the native c/c++ layer continues to call the HAL layer down, the HAL layer continues to call the linux kernel, and the whole calling process is finished. For pytorch, I only vaguely know that python api can call libcuda.so, and then libcuda.so can call libc.so, but I don’t clearly understand the whole calling framework.