File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments