Particles/Compute.cpp
//-----------------------------------------------------------------------------
// Creates a command queue optionally using the intel throttle extension
// NOTE: the GPU must be idle at this point
//-----------------------------------------------------------------------------
Creates a command queue optionally using the intel throttle extension
NOTE: the GPU must be idle at this point
Creates a command queue optionally using the intel throttle extension NOTE : the GPU must be idle at this point
void Compute::SetUseIntelCommandQueueExtension(bool in_desiredSetting)
{
    WaitForGpu();
    in_desiredSetting = in_desiredSetting && m_pExtensionHelper->GetEnabled();
    if (m_usingIntelCommandQueueExtension != in_desiredSetting)
    {
        m_usingIntelCommandQueueExtension = in_desiredSetting;
        CreateCommandQueue();
    }
}
void Compute :: SetUseIntelCommandQueueExtension ( bool in_desiredSetting ) { WaitForGpu ( ) ; in_desiredSetting = in_desiredSetting && m_pExtensionHelper -> GetEnabled ( ) ; if ( m_usingIntelCommandQueueExtension != in_desiredSetting ) { m_usingIntelCommandQueueExtension = in_desiredSetting ; CreateCommandQueue ( ) ; } }
Creates a command queue optionally using the intel throttle extension
NOTE: the GPU must be idle at this point
Creates a command queue optionally using the intel throttle extension NOTE : the GPU must be idle at this point