Removed misleading return value in AMD build