.. oe:namespace:: OEFastROCS

.. meta::
   :keywords: OEFastROCSGPUStatus

.. oe:function:: OEFastROCSGPUStatus

   .. oe:language:: c++ java csharp

      .. oe:api::

         unsigned OEFastROCSGPUStatus()

   .. oe:language:: python

      .. oe:api:: python

         OEFastROCSGPUStatus() -> int

   Queries the status of the GPU and returns an :oe:const:`OEFastROCS::OEFastROCSReturnCode`.   
   Useful for checking whether the machine has an accelerator properly setup and ready to accept FastROCS queries. 
   It is guaranteed that if this function returns :oe:const:`OEFastROCS::OEFastROCSReturnCode::Success` 
   that all subsequent :ref:`OEShapeDatabase <OEFastROCS_OEShapeDatabase>` objects can successfully execute queries.
