PAPI 7.1.0.0
Loading...
Searching...
No Matches
cupti_config.h
Go to the documentation of this file.
1
7#ifndef __LCUDA_CONFIG_H__
8#define __LCUDA_CONFIG_H__
9
10#include <cupti.h>
11
12#define CUPTI_PROFILER_API_MIN_SUPPORTED_VERSION (13)
13
14#if (CUPTI_API_VERSION >= CUPTI_PROFILER_API_MIN_SUPPORTED_VERSION)
15# define API_PERFWORKS 1
16#endif
17
18/*
19 * TODO: When NVIDIA removes the event API #define CUPTI_EVENTS_API_MAX_SUPPORTED_VERSION
20 * and set it to last version that supports it.
21 * Then conditionally define the following macro if the version lies within this range.
22 * Note: Introduce a runtime check in `cuptic_is_runtime_events_api()` to satisfy this.
23 */
24#define API_EVENTS 1
25
26#endif /* __LCUDA_CONFIG_H__ */