Skip to content

Commit 894a3e6

Browse files
committed
update compile option
1 parent 9791d4e commit 894a3e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libkineto/src/CudaDeviceProperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
#ifdef USE_CUDA
8+
#ifdef HAS_CUPTI
99

1010
#include "CudaDeviceProperties.h"
1111

libkineto/src/CudaDeviceProperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
#ifdef USE_CUDA
8+
#ifdef HAS_CUPTI
99

1010
#pragma once
1111

0 commit comments

Comments
 (0)