llvm/openmp/libompd/src/ompd-types.h

/*
 * @@name:   ompd-types.h
 */

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef __OMPD_TYPES_H
#define __OMPD_TYPES_H

extern "C" {
#include "omp-tools.h"
}

#define OMPD_TYPES_VERSION

/* Kinds of device threads  */
#define OMPD_THREAD_ID_PTHREAD
#define OMPD_THREAD_ID_LWP
#define OMPD_THREAD_ID_WINTHREAD
/* The range of non-standard implementation defined values */
#define OMPD_THREAD_ID_LO
#define OMPD_THREAD_ID_HI

/* Memory Access Segment definitions for Host and Target Devices */
#define OMPD_SEGMENT_UNSPECIFIED

/* Kinds of device device address spaces */
#define OMPD_DEVICE_KIND_HOST
/* The range of non-standard implementation defined values */
#define OMPD_DEVICE_IMPL_LO
#define OMPD_DEVICE_IMPL_HI
#endif