How to initialize a tensor map on device# How to initialize a tensor map on device is explained in the CUDA Programming Guide.