Returns a pointer to the device.
StubVectorizeDevice if the pointer is not NULL, or a non-NULL pointer otherwise.