pub fn memory_type(ptr: CUdeviceptr) -> Result<MemoryType>
Query the memory type of a device pointer.