Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Oct 2, 2024
1 parent f1ca3f8 commit 93df12f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmark/src/Benchmark.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import java.util.concurrent.TimeUnit;
@OutputTimeUnit(TimeUnit.SECONDS)
@State(Scope.Thread)
@Fork(value = 1)
@Warmup(iterations = 3)
@Measurement(iterations = 3)
@Warmup(iterations = 1)
@Measurement(iterations = 1)
abstract class BLASBenchmark:

var blas: BLAS = _;
Expand Down
2 changes: 1 addition & 1 deletion vecxt/jvm/src/arrays.scala
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ object arrays:

// https://developer.nvidia.com/gpugems/gpugems3/part-vi-gpu-computing/chapter-39-parallel-prefix-sum-scan-cuda#:~:text=A%20simple%20and%20common%20parallel%20algorithm#:~:text=A%20simple%20and%20common%20parallel%20algorithm
inline def cumsum: Unit =
val spd: VectorSpecies[java.lang.Double] = DoubleVector.SPECIES_128
val spd: VectorSpecies[java.lang.Double] = DoubleVector.SPECIES_PREFERRED
val spi: VectorSpecies[java.lang.Integer] =
VectorSpecies.of(java.lang.Integer.TYPE, VectorShape.forBitSize(spd.vectorBitSize() / 2))

Expand Down

0 comments on commit 93df12f

Please sign in to comment.