cudaHostGetDevicePointer return null pointer on jetson tx2

Hi,

I have a problem about cudaHostGetDevicePointer, on my desktop, I can get the device pointer after calling cudaHostRegister, but when I run my application on the jetson tx2 with Ubuntu18 , the cudaHostGetDevicePointer function returned a null pointer.

my cuda version is 10.2

Did you allocate CUDA memory using Unified memory or pinned memory ? Check this example.

Thank you