Testing cuda device queries