Skip to content

Commit

Permalink
Disable NvPerfMetric for CUDA 12.6.0 (#1015)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1015

12.6.0 changes all the headers and APIs used in this file so we need to disable it for now

Reviewed By: briancoutinho

Differential Revision: D66265298

fbshipit-source-id: 7db0aaa611b95a1ff1eb3d6cfa0e11ddb5139ec1
  • Loading branch information
sraikund16 authored and facebook-github-bot committed Nov 21, 2024
1 parent 66b32a0 commit 596126c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libkineto/src/CuptiNvPerfMetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifdef HAS_CUPTI
#include <cuda_runtime_api.h>
#if defined(USE_CUPTI_RANGE_PROFILER) && defined(CUDART_VERSION) && \
CUDART_VERSION > 10000
CUDART_VERSION > 10000 && CUDART_VERSION < 12060
#include <nvperf_cuda_host.h>
#include <nvperf_host.h>
#include <nvperf_target.h>
Expand Down Expand Up @@ -46,7 +46,7 @@ namespace nvperf {
// After CUDA RT 11.04, the structure has changed.
// TODO update the structure NVPA_RawMetricsConfig to support 11.04
#if defined(USE_CUPTI_RANGE_PROFILER) && defined(CUDART_VERSION) && \
CUDART_VERSION > 10000
CUDART_VERSION > 10000 && CUDART_VERSION < 12060

bool getRawMetricRequests(
NVPA_MetricsContext* metricsContext,
Expand Down

0 comments on commit 596126c

Please sign in to comment.