pub fn device_ordinal(ptr: CUdeviceptr) -> Result<i32>
Query the device ordinal this allocation was created on.