You can minimize work with synchronization object (but it is not a critical operation, so the current version would work fine):
```
if(!clBlasInitialized)
{
    AutoLock al(cs);
    if(!clBlasInitialized)
    {
        openCLSafeCall(clAmdBlasSetup());
        clBlasInitialized = true;
    }
}
```