OESiteHopperIsGPUReady

bool OESiteHopperIsGPUReady()

Returns true if Search can successfully use the GPU for prescreen search. Useful for checking whether the machine has an accelerator properly setup. It is guaranteed that if this function returns ‘true’ that all subsequent Search method can successfully execute queries. That means that this function will effectively initialize an underlying context that is re-used by OESiteHopperSearch objects, possibly grabbing an “exclusive process” lock: http://docs.nvidia.com/cuda/cuda-c-programming-guide/#compute-modes