Gromacs
2020.1
|
Variables | |
bool | g_clfftInitialized = false |
The clFFT library may only be initialized once per process, and this is orchestrated by this shared value and mutex. More... | |
gmx::Mutex | g_clfftMutex |
bool gmx::anonymous_namespace{clfftinitializer.cpp}::g_clfftInitialized = false |
The clFFT library may only be initialized once per process, and this is orchestrated by this shared value and mutex.
This ensures that thread-MPI and OpenMP builds can't accidentally initialize it more than once.