OEOmegaIsGPUReady

bool OEOmegaIsGPUReady()

Determines whether a GPU is present and available for use on the current system.

This can be used to determine if conformer generation using the torsion driving method will be accelerated by a GPU.

Warning

This function causes GPU context creation and so is only safe to use from within a process when using a multithreaded environment such as python’s multiprocessing.

See also

GPU-Omega chapter in the OEOmega TK manual.