Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 511538 Details for
Bug 641242
=media-libs/opensubdiv-3.3.0 with CUDA 9 - 'compute_20' is not defined for option 'gpu-architecture'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
opensubdiv-3.3.0-add-CUDA9-compatibility
opensubdiv-3.3.0-CUDA9-compatibility.patch (text/plain), 897 bytes, created by
Jonathan Scruggs (RETIRED)
on 2017-12-23 11:56:56 UTC
(
hide
)
Description:
opensubdiv-3.3.0-add-CUDA9-compatibility
Filename:
MIME Type:
Creator:
Jonathan Scruggs (RETIRED)
Created:
2017-12-23 11:56:56 UTC
Size:
897 bytes
patch
obsolete
>From 7b9157bca7138480c387ef3d5b69b6cf1eb498e5 Mon Sep 17 00:00:00 2001 >From: "Daniel M. Weeks" <dan@danweeks.net> >Date: Fri, 15 Dec 2017 22:45:55 -0500 >Subject: [PATCH] CUDA 9 compatible gpu-architecture default > >--- > CMakeLists.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 4f3cd9d4..fa438b46 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -513,8 +513,10 @@ if(CUDA_FOUND) > if (NOT DEFINED OSD_CUDA_NVCC_FLAGS) > if (CUDA_VERSION_MAJOR LESS 6) > set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 ) >- else() >+ elseif (CUDA_VERSION_MAJOR LESS 9) > set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 ) >+ else() >+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 ) > endif() > endif() > endif()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 641242
: 511538