mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-06-04 00:06:52 +08:00
21 lines
978 B
Plaintext
21 lines
978 B
Plaintext
# Matrix Multiplication with Shared Memory (GEMM) Requirements
|
|
#
|
|
# IMPORTANT: this sample pins older versions of cuda-core and nvmath-python
|
|
# on purpose. nvmath-python 0.9.0 (the current CUDA-13 release at the time
|
|
# of CTK 13.3) calls cuda-core's pre-1.0 API name `EventOptions(enable_timing=...)`
|
|
# in its own internals. With cuda-core 1.0+ that kwarg was renamed to
|
|
# `timing_enabled` and the old name is rejected, so any cuda-core>=1.0 +
|
|
# nvmath-python 0.9.0 combination raises a TypeError at runtime.
|
|
#
|
|
# Until nvmath-python ships a release that targets the cuda-core 1.0 naming
|
|
# audit, this sample requires the older cuda-core 0.7 line. Installing this
|
|
# requirements.txt into the same environment as the other samples will
|
|
# downgrade cuda-core; use a dedicated venv for this sample, or reinstall
|
|
# the other samples' requirements afterwards to upgrade cuda-core back.
|
|
|
|
cuda-python>=13.0.0
|
|
cuda-core==0.7.0
|
|
cupy-cuda13x>=14.0.0
|
|
numpy>=2.3.2
|
|
nvmath-python[cu13]==0.9.0
|