magma: fix build on CUDA 11.8
The build of MAGMA fails since the last update due to missing `cuda/std/type_traits`. This is not an issue on CUDA >= 12.0, since `cuda_cccl` was already included as a dependency.
This commit is contained in:
@@ -160,6 +160,7 @@ stdenv.mkDerivation {
|
||||
++ lists.optionals cudaSupport (
|
||||
with effectiveCudaPackages;
|
||||
[
|
||||
cuda_cccl # <nv/target> and <cuda/std/type_traits>
|
||||
cuda_cudart # cuda_runtime.h
|
||||
libcublas # cublas_v2.h
|
||||
libcusparse # cusparse.h
|
||||
@@ -170,9 +171,6 @@ stdenv.mkDerivation {
|
||||
++ lists.optionals (cudaAtLeast "11.8") [
|
||||
cuda_profiler_api # <cuda_profiler_api.h>
|
||||
]
|
||||
++ lists.optionals (cudaAtLeast "12.0") [
|
||||
cuda_cccl # <nv/target>
|
||||
]
|
||||
)
|
||||
++ lists.optionals rocmSupport (
|
||||
with effectiveRocmPackages;
|
||||
|
||||
Reference in New Issue
Block a user