Skip to content

Commit

Permalink
Drop Pascal GPU support.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 2, 2024
1 parent 72e6f9b commit 04cf296
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ CUDA/GPU:

* CUDA 11.5+
* NVIDIA driver 450.80.02+
* Pascal architecture or better
* Volta architecture or better (Compute Capability >=7.0)

You can obtain CUDA from
[https://developer.nvidia.com/cuda-downloads](https://developer.nvidia.com/cuda-downloads).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ print(tips_df.groupby("size").tip_percentage.mean())

* CUDA 11.2+
* NVIDIA driver 450.80.02+
* Pascal architecture or better (Compute Capability >=6.0)
* Volta architecture or better (Compute Capability >=7.0)

### Conda

Expand Down
23 changes: 12 additions & 11 deletions python/cudf/cudf/utils/gpu_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
# Copyright (c) 2020-2023, NVIDIA CORPORATION.


def validate_setup():
Expand Down Expand Up @@ -70,23 +70,24 @@ def validate_setup():
cudaDeviceAttr.cudaDevAttrComputeCapabilityMajor, 0
)

if major_version < 6:
# A GPU with NVIDIA Pascal™ architecture or newer is required.
if major_version < 7:
# A GPU with NVIDIA Volta™ architecture or newer is required.
# Reference: https://developer.nvidia.com/cuda-gpus
# Hardware Generation Compute Capability
# Ampere 8.x
# Turing 7.5
# Volta 7.0, 7.2
# Pascal 6.x
# Hardware Generation Compute Capability
# Hopper 9.x
# Ampere 8.x
# Turing 7.5
# Volta 7.0, 7.2
# Pascal 6.x
# Maxwell 5.x
# Kepler 3.x
# Fermi 2.x
# Kepler 3.x
# Fermi 2.x
device_name = deviceGetName(0)
minor_version = getDeviceAttribute(
cudaDeviceAttr.cudaDevAttrComputeCapabilityMinor, 0
)
warnings.warn(
"A GPU with NVIDIA Pascal™ (Compute Capability 6.0) "
"A GPU with NVIDIA Volta™ (Compute Capability 7.0) "
"or newer architecture is required.\n"
f"Detected GPU 0: {device_name}\n"
f"Detected Compute Capability: {major_version}.{minor_version}"
Expand Down
6 changes: 3 additions & 3 deletions python/custreamz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ from custreamz import kafka

# Full list of configurations can be found at: https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
kafka_configs = {
"metadata.broker.list": "localhost:9092",
"group.id": "custreamz-client",
"metadata.broker.list": "localhost:9092",
"group.id": "custreamz-client",
}

# Create a reusable Kafka Consumer client; "datasource"
Expand Down Expand Up @@ -50,7 +50,7 @@ Please see the [Demo Docker Repository](https://hub.docker.com/r/rapidsai/rapids

* CUDA 11.0+
* NVIDIA driver 450.80.02+
* Pascal architecture or better (Compute Capability >=6.0)
* Volta architecture or better (Compute Capability >=7.0)

### Conda

Expand Down

0 comments on commit 04cf296

Please sign in to comment.