Added missing end parentheses for AMD support