JunningWu / AIChip

Aiming at an AI Chip based on RISC-V and NVDLA.
Apache License 2.0
21 stars 4 forks source link

Learning NVDLA SW through NN_L0_1_fbuf #12

Open JunningWu opened 6 years ago

JunningWu commented 6 years ago

对于应用程序来讲,其入口就是main(),程序文件main.cpp在/nvdla_sw/umd/tests/runtime/,main函数的调用关系如下: --main() --help() --launchTest()

image

JunningWu commented 6 years ago

GEM:GEM stands for Graphics Execution Manager and is a generic DRM memory-management framework in the kernel, that is used by many different drivers. Gem is designed to manage graphics memory, control access to the graphics device execution context and handle essentially NUMA environment unique to modern graphics hardware. Gem allows multiple applications to share graphics device resources without the need to constantly reload the entire graphics card. Data may be shared between multiple applications with gem ensuring that the correct memory synchronization occurs.

Read more at: https://www.commandlinux.com/man-page/man7/drm-gem.7.html