7 Commits

Author SHA1 Message Date
openeuler-robot
2b6e28f6f1 update libgmem-v0.1.tar.gz to 4dc188c
Skip building when the kernel does not support GMEM
2024-02-02 01:04:24 +08:00
Lemmy Huang
ed762ffc8f add install_npu_driver.sh
Signed-off-by: Lemmy Huang <huangliming5@huawei.com>
2023-09-20 16:40:56 +08:00
Yang Yanchao
29c9237b0c Structures and macros use the default definition of the kernel [I80K89]
optimize headers file

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2023-09-12 12:29:52 +08:00
Yang Yanchao
10c2b83331 fix three issue
Check the return ptr of the malloc[#I7YV2X]
add hnid in gmemPrefetch [#I7XQMW]
free userData in stream to avoid async operations accessing illeagal
address[#I7Z2RF]

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2023-09-06 20:29:21 +08:00
Yang Yanchao
4f0ece3f75 use ioctl instead of syscall 2023-08-29 18:56:17 +08:00
Yang Yanchao
bdc507a472 update tar.gz 2023-08-22 00:03:11 +08:00
Yang Yanchao
4d40735c37 Init libgmem with openeuler/libgmem commit "" 2023-08-14 18:15:29 +08:00