Skip to content

Commit 05125b2

Browse files
committed
PyTorch: fix use of NVTXv3
1 parent c80ebd6 commit 05125b2

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

pytorch-cluster.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cmake ../%{n}-%{realversion} \
4242
%if 0%{!?without_cuda:1}
4343
-DWITH_CUDA=${USE_CUDA} \
4444
-DTORCH_CUDA_ARCH_LIST="%{cuda_arch_float}" \
45+
-Dnvtx3_dir=${CUDA_ROOT}/include \
4546
%endif
4647
-DBUILD_SHARED_LIBS=ON
4748

pytorch-scatter.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ cmake ../%{n}-%{realversion} \
4343
%if 0%{!?without_cuda:1}
4444
-DWITH_CUDA=${USE_CUDA} \
4545
-DTORCH_CUDA_ARCH_LIST="%{cuda_arch_float}" \
46+
-Dnvtx3_dir=${CUDA_ROOT}/include \
4647
%endif
4748
-DBUILD_SHARED_LIBS=ON
4849

pytorch-sparse.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ cmake ../%{n}-%{realversion} \
4343
%if 0%{!?without_cuda:1}
4444
-DWITH_CUDA=${USE_CUDA} \
4545
-DTORCH_CUDA_ARCH_LIST="%{cuda_arch_float}" \
46+
-Dnvtx3_dir=${CUDA_ROOT}/include \
4647
%endif
4748
-DBUILD_SHARED_LIBS=ON
4849

pytorch.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ cmake ../%{n}-%{realversion} \
4545
%if 0%{!?without_cuda:1}
4646
-DUSE_CUDA=${USE_CUDA} \
4747
-DTORCH_CUDA_ARCH_LIST="%{cuda_arch_float}" \
48+
-Dnvtx3_dir=${CUDA_ROOT}/include \
4849
-DUSE_CUDNN=${USE_CUDA} \
4950
-DCUDNN_ROOT=${CUDNN_ROOT} \
5051
%else

0 commit comments

Comments
 (0)