jetson-utils icon indicating copy to clipboard operation
jetson-utils copied to clipboard

how to use some functions?

Open qiyueyuanwei opened this issue 2 years ago • 1 comments

I want to use some functions like cudaNormolize() in python, but i can't find examples . How can I free the memory allocated by the cudaAllocMapped() function

qiyueyuanwei avatar Mar 14 '22 09:03 qiyueyuanwei

Hi @qiyueyuanwei, there are some additional examples on this page: https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-image.md

How can I free the memory allocated by the cudaAllocMapped() function

To delete that memory, just do del variable (where variable is the name of the object that you allocated with cudaAllocMapped())

dusty-nv avatar Mar 14 '22 15:03 dusty-nv