numba / numba/pyculib_sorting

Compute_20 nvcc error

Open
#8 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Cuda
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Downloading and trying to install gives me the following error. I think this is because I'm using CUDA 9, which may have remove support for fermi architectures.

nvcc fatal : Unsupported gpu architecture 'compute_20'

This was simple enough to fix by making the following change:

```
diff --git a/build_sorting_libs.py b/build_sorting_libs.py
index 1589b7e..d1f44f6 100644
--- a/build_sorting_libs.py
+++ b/build_sorting_libs.py
@@ -53,7 +53,7 @@ def gencode_flags():

# Concatenate flags
SM = []
- SM.append(GENCODE_SM20)
+ # SM.append(GENCODE_SM20)
SM.append(GENCODE_SM30)
SM.append(GENCODE_SM35)
SM.append(GENCODE_SM37)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in build_sorting_libs.py, especially gencode_flags(), and inspect how the compute_20 flag is included in the generated nvcc arguments. Reproduce the installation with CUDA 9, then verify that the sorting libraries build without requesting compute_20 support.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.