cupy_cuda_profiler_api.h 386 Bytes
Newer Older
root's avatar
root committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef INCLUDE_GUARD_CUDA_CUPY_PROFILER_H
#define INCLUDE_GUARD_CUDA_CUPY_PROFILER_H

#include <cuda.h>
#include <cuda_profiler_api.h>

#if CUDA_VERSION >= 12000
// Functions removed in CUDA 12.0

enum cudaOutputMode_t {};

cudaError_t cudaProfilerInitialize(...) {
    return cudaErrorUnknown;
}

#endif // #if CUDA_VERSION >= 12

#endif // #ifndef INCLUDE_GUARD_CUDA_CUPY_PROFILER_H