//===--------- dpctl_config.h - Configured options for dpctl C API         ===//
//
//                      Data Parallel Control (dpctl)
//
// Copyright 2020-2022 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file exports a set of dpctl C API configurations.
///
//===----------------------------------------------------------------------===//

#pragma once

/* Defined when dpctl was built with level zero program creation enabled. */
#define DPCTL_ENABLE_L0_PROGRAM_CREATION                                  \
    1

/* Version of SYCL DPC++ 2023 compiler at which transition to SYCL 2020 occurs */
/* Intel(R) oneAPI DPC++ 2022.2.1 compiler has version 20221020L on Linux and
   20221101L on Windows */
#define __SYCL_COMPILER_2023_SWITCHOVER 20221102L

/* Version of SYCL DPC++ compiler at which info::max_work_item_size was
   made templated */
#define __SYCL_COMPILER_MAX_WORK_ITEM_SIZE_THRESHOLD __SYCL_COMPILER_2023_SWITCHOVER

/* The DPCPP version used to build dpctl */
#define DPCTL_DPCPP_VERSION "2023.0.0"

#define DPCTL_LIBZE_LOADER_FILENAME "libze_loader.so.1"
#define DPCTL_LIBCL_LOADER_FILENAME "libOpenCL.so.1"
