1//===- OffloadArchOptions.cpp - options shared by offload-arch -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the command line options used by both the offload-arch
10// tool and the vendor-specific GPU detection code.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Support/CommandLine.h"
15
16using namespace llvm;
17
18// Mark all our options with this category.
19cl::OptionCategory OffloadArchCategory("offload-arch options");
20
21cl::opt<bool> Verbose("verbose", cl::desc("Enable verbose output"),
22 cl::init(Val: false), cl::cat(OffloadArchCategory));
23