Skip to content

Commit

Permalink
cuda: fix get linked shared library link error gcc 10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anustuvicl committed Aug 22, 2023
1 parent dd71790 commit 000b563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/cuda/cupti_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

static void *dl_drv, *dl_rt;

const char *linked_cudart_path;
void *dl_cupti;

unsigned int _cuda_lock;
Expand Down
2 changes: 1 addition & 1 deletion src/components/cuda/cupti_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "cupti_utils.h"
#include "lcuda_debug.h"

const char *linked_cudart_path;
extern const char *linked_cudart_path;
extern void *dl_cupti;

extern unsigned int _cuda_lock;
Expand Down

0 comments on commit 000b563

Please sign in to comment.