Unverified Commit a2592bec authored by Luna's avatar Luna Committed by GitHub
Browse files

rocm-modules: use clr.localGpuTargets everywhere (#482549)

parents b9045fe0 ad60ff79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  gbenchmark,
  buildTests ? false,
  buildBenchmarks ? false,
  gpuTargets ? [ ],
  gpuTargets ? clr.localGpuTargets or [ ],
}:

# CUB can also be used as a backend instead of rocPRIM.
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
  buildTests ? false,
  buildBenchmarks ? false,
  buildSamples ? false,
  gpuTargets ? [ ],
  gpuTargets ? clr.localGpuTargets or [ ],
}:

# Can also use cuFFT
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  rocrand,
  gtest,
  buildTests ? false,
  gpuTargets ? [ ],
  gpuTargets ? clr.localGpuTargets or [ ],
}:

stdenv.mkDerivation (finalAttrs: {
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
  buildTests ? false,
  buildBenchmarks ? false,
  buildSamples ? false,
  gpuTargets ? [ ],
  gpuTargets ? clr.localGpuTargets or [ ],
}:

# This can also use cuSPARSE as a backend instead of rocSPARSE
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
  useOpenCL ? false,
  useCPU ? false,
  buildDocs ? false, # Needs internet
  gpuTargets ? [ ],
  gpuTargets ? clr.localGpuTargets or [ ],
}:

stdenv.mkDerivation (finalAttrs: {
Loading