Reorganising build.gradle for CUDA 12
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m44s Details

Signed-off-by: brian <brian@brutex.de>
CUDA12
Brian Rosenberger 2023-09-02 21:41:22 +02:00
parent 45933c6008
commit d6dc72fc67
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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")