OEFastROCSIsGPUReady

bool OEFastROCSIsGPUReady()

Returns True if OEShapeDatabase can successfully execute queries. 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 ‘True’ that all subsequent OEShapeDatabase object can successfully execute queries. That means that this function will effectively initialize an underlying context that is re-used by OEShapeDatabase objects, possibly grabbing an “exclusive process” lock: http://docs.nvidia.com/cuda/cuda-c-programming-guide/#compute-modes