Add cuda arches to build for
Suggested-by: Steve Royer <sroyer@redhat.com> Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
parent
34c6e67d31
commit
64cda83196
1 changed files with 2 additions and 0 deletions
|
|
@ -681,6 +681,8 @@ export BUILD_CAFFE2=ON
|
|||
export CUDACXX=/usr/local/cuda/bin/nvcc
|
||||
export CPLUS_INCLUDE_PATH=/usr/local/cuda/include
|
||||
export USE_CUDA=ON
|
||||
# The arches to build for
|
||||
export TORCH_CUDA_ARCH_LIST="8.0 8.6 8.9 9.0"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue