Reorganising build.gradle for CUDA 12
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m44s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m44s
Details
Signed-off-by: brian <brian@brutex.de>CUDA12
parent
45933c6008
commit
d6dc72fc67
|
@ -39,7 +39,8 @@ jobs:
|
|||
DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||
build-essential checkinstall zlib1g-dev libssl-dev git libpthread-stubs0-dev \
|
||||
libcudnn8=$cudnn_version-1+$cuda_version libcudnn8-dev=$cudnn_version-1+$cuda_version \
|
||||
libblas{3,-dev} liblapack{3,-dev} libatlas-base-dev libopenblas-dev
|
||||
libblas{3,-dev} liblapack{3,-dev} libatlas-base-dev libopenblas-dev && \
|
||||
find / -name nvcc
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
|
|
|
@ -174,7 +174,7 @@ if(SD_CUDA)
|
|||
add_definitions(-D_HAS_AUTO_PTR_ETC=1)
|
||||
|
||||
set(CMAKE_CUDA_RUNTIME_LIBRARY "shared")
|
||||
set(CMAKE_CUDA_ARCHITECTURES "62;75")
|
||||
set(CMAKE_CUDA_ARCHITECTURES "61") #set(CMAKE_CUDA_ARCHITECTURES "62;75")
|
||||
|
||||
#This basically kills instrinsic activated through SD_F16C=true
|
||||
#if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
|
|
Loading…
Reference in New Issue