Unverified Commit 2a44f631 authored by Madoura's avatar Madoura
Browse files

rocm-related: remove ? null and related asserts

composable_kernel: remove ? null and related asserts

hipcub: remove ? null and related asserts

hipsparse: remove ? null and related asserts

miopen: remove ? null and related asserts

miopengemm: remove ? null and related asserts

rccl: remove ? null and related asserts

rocblas: remove ? null and related asserts

rocfft: remove ? null and related asserts

rocprim: remove ? null and related asserts

rocrand: remove ? null and related asserts

rocsparse: remove ? null and related asserts

rocthrust: remove ? null and related asserts

rocwmma: remove ? null and related asserts
parent 686606ea
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -5,14 +5,12 @@
, rocm-cmake
, hip
, openmp
, gtest ? null
, gtest
, buildTests ? false
, buildExamples ? false
, gpuTargets ? [ ] # gpuTargets = [ "gfx803" "gfx900" "gfx1030" ... ]
}:

assert buildTests -> gtest != null;

# Several tests seem to either not compile or have a race condition
# Undefined reference to symbol '_ZTIN7testing4TestE'
# Try removing this next update
+2 −5
Original line number Diff line number Diff line
@@ -9,15 +9,12 @@
, rocm-comgr
, rocprim
, hip
, gtest ? null
, gbenchmark ? null
, gtest
, gbenchmark
, buildTests ? false
, buildBenchmarks ? false
}:

assert buildTests -> gtest != null;
assert buildBenchmarks -> gbenchmark != null;

# CUB can also be used as a backend instead of rocPRIM.
stdenv.mkDerivation (finalAttrs: {
  pname = "hipcub";
+1 −3
Original line number Diff line number Diff line
@@ -11,12 +11,10 @@
, hip
, gfortran
, git
, gtest ? null
, gtest
, buildTests ? false
}:

assert buildTests -> gtest != null;

# This can also use cuSPARSE as a backend instead of rocSPARSE
stdenv.mkDerivation (finalAttrs: {
  pname = "hipsparse";
+6 −13
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, writeScript
, pkg-config
, cmake
@@ -21,12 +22,11 @@
, boost
, sqlite
, bzip2
, texlive ? null
, doxygen ? null
, sphinx ? null
, python3Packages ? null
, zlib ? null
, fetchurl ? null
, texlive
, doxygen
, sphinx
, zlib
, python3Packages
, buildDocs ? true
, buildTests ? false
# LFS isn't working, so we will manually fetch these
@@ -36,13 +36,6 @@
, useOpenCL ? false
}:

assert buildDocs -> texlive != null;
assert buildDocs -> doxygen != null;
assert buildDocs -> sphinx != null;
assert buildDocs -> python3Packages != null;
assert buildTests -> zlib != null;
assert fetchKDBs -> fetchurl != null;

let
  latex = lib.optionalAttrs buildDocs texlive.combine {
    inherit (texlive) scheme-small
+5 −11
Original line number Diff line number Diff line
@@ -6,22 +6,16 @@
, rocm-cmake
, rocm-opencl-runtime
, clang
, texlive ? null
, doxygen ? null
, sphinx ? null
, python3Packages ? null
, openblas ? null
, texlive
, doxygen
, sphinx
, openblas
, python3Packages
, buildDocs ? true
, buildTests ? false
, buildBenchmarks ? false
}:

assert buildDocs -> texlive != null;
assert buildDocs -> doxygen != null;
assert buildDocs -> sphinx != null;
assert buildDocs -> python3Packages != null;
assert buildTests -> openblas != null;

let
  latex = lib.optionalAttrs buildDocs texlive.combine {
    inherit (texlive) scheme-small
Loading